pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases
Module Name: pkgsrc
Committed By: fhajny
Date: Fri Nov 10 14:47:42 UTC 2017
Modified Files:
pkgsrc/databases/postgresql10: Makefile.common
pkgsrc/databases/postgresql10-client: Makefile
pkgsrc/databases/postgresql92: Makefile.common
pkgsrc/databases/postgresql92-client: Makefile
pkgsrc/databases/postgresql93: Makefile.common
pkgsrc/databases/postgresql93-client: Makefile
pkgsrc/databases/postgresql94: Makefile.common
pkgsrc/databases/postgresql94-client: Makefile
pkgsrc/databases/postgresql95: Makefile.common
pkgsrc/databases/postgresql95-client: Makefile
pkgsrc/databases/postgresql96: Makefile.common
pkgsrc/databases/postgresql96-client: Makefile
Log Message:
Make sure the --as-needed linker arg does not leak into the pgxs Makefiles
on Darwin and SunOS where it's not supported. Bump PKGREVISION on *-client.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/postgresql10/Makefile.common
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/postgresql10-client/Makefile
cvs rdiff -u -r1.31 -r1.32 pkgsrc/databases/postgresql92/Makefile.common
cvs rdiff -u -r1.9 -r1.10 pkgsrc/databases/postgresql92-client/Makefile
cvs rdiff -u -r1.27 -r1.28 pkgsrc/databases/postgresql93/Makefile.common
cvs rdiff -u -r1.11 -r1.12 pkgsrc/databases/postgresql93-client/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/databases/postgresql94/Makefile.common
cvs rdiff -u -r1.5 -r1.6 pkgsrc/databases/postgresql94-client/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/databases/postgresql95/Makefile.common
cvs rdiff -u -r1.5 -r1.6 pkgsrc/databases/postgresql95-client/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/databases/postgresql96/Makefile.common
cvs rdiff -u -r1.3 -r1.4 pkgsrc/databases/postgresql96-client/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/databases/postgresql10/Makefile.common
diff -u pkgsrc/databases/postgresql10/Makefile.common:1.1 pkgsrc/databases/postgresql10/Makefile.common:1.2
--- pkgsrc/databases/postgresql10/Makefile.common:1.1 Mon Oct 23 20:33:49 2017
+++ pkgsrc/databases/postgresql10/Makefile.common Fri Nov 10 14:47:41 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.1 2017/10/23 20:33:49 adam Exp $
+# $NetBSD: Makefile.common,v 1.2 2017/11/10 14:47:41 fhajny Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -79,6 +79,14 @@ CONFIGURE_ENV+= MSGFMT=${TOOLS_PATH.msg
CONFIGURE_ENV+= ac_cv_header_sys_ucred_h=no
.endif
+# pkgsrc silently filters the --as-needed linker arg, but that makes
+# it leak into the pgxs Makefiles and compromises manual building
+# against PostgreSQL files installed. Disable it here to prevent
+# that from happening.
+.if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin"
+CONFIGURE_ENV+= pgac_cv_prog_cc_ldflags__Wl___as_needed=no
+.endif
+
# configure fails on OpenBSD and MirBSD if thread safety is enabled.
.if ${OPSYS} == "OpenBSD" || ${OPSYS} == "MirBSD"
CONFIGURE_ARGS+= --disable-thread-safety
Index: pkgsrc/databases/postgresql10-client/Makefile
diff -u pkgsrc/databases/postgresql10-client/Makefile:1.1 pkgsrc/databases/postgresql10-client/Makefile:1.2
--- pkgsrc/databases/postgresql10-client/Makefile:1.1 Mon Oct 23 20:33:49 2017
+++ pkgsrc/databases/postgresql10-client/Makefile Fri Nov 10 14:47:41 2017
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2017/10/23 20:33:49 adam Exp $
+# $NetBSD: Makefile,v 1.2 2017/11/10 14:47:41 fhajny Exp $
PKGNAME= ${DISTNAME:C/-/10-client-/}
+PKGREVISION= 1
COMMENT= PostgreSQL database client programs
.include "../../databases/postgresql10/Makefile.common"
Index: pkgsrc/databases/postgresql92/Makefile.common
diff -u pkgsrc/databases/postgresql92/Makefile.common:1.31 pkgsrc/databases/postgresql92/Makefile.common:1.32
--- pkgsrc/databases/postgresql92/Makefile.common:1.31 Mon Sep 4 19:33:43 2017
+++ pkgsrc/databases/postgresql92/Makefile.common Fri Nov 10 14:47:41 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.31 2017/09/04 19:33:43 adam Exp $
+# $NetBSD: Makefile.common,v 1.32 2017/11/10 14:47:41 fhajny Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -76,6 +76,14 @@ CONFIGURE_ARGS+= --without-zlib
# procfs and largefile.
CONFIGURE_ENV.SunOS+= ac_cv_header_sys_ucred_h=no
+# pkgsrc silently filters the --as-needed linker arg, but that makes
+# it leak into the pgxs Makefiles and compromises manual building
+# against PostgreSQL files installed. Disable it here to prevent
+# that from happening.
+.if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin"
+CONFIGURE_ENV+= pgac_cv_prog_cc_ldflags__Wl___as_needed=no
+.endif
+
# configure fails on OpenBSD and MirBSD if thread safety is enabled.
CONFIGURE_ARGS.MirBSD+= --disable-thread-safety
CONFIGURE_ARGS.OpenBSD+= --disable-thread-safety
Index: pkgsrc/databases/postgresql92-client/Makefile
diff -u pkgsrc/databases/postgresql92-client/Makefile:1.9 pkgsrc/databases/postgresql92-client/Makefile:1.10
--- pkgsrc/databases/postgresql92-client/Makefile:1.9 Sat Apr 9 12:51:46 2016
+++ pkgsrc/databases/postgresql92-client/Makefile Fri Nov 10 14:47:41 2017
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2016/04/09 12:51:46 adam Exp $
+# $NetBSD: Makefile,v 1.10 2017/11/10 14:47:41 fhajny Exp $
PKGNAME= ${DISTNAME:C/-/92-client-/}
+PKGREVISION= 1
COMMENT= PostgreSQL database client programs
.include "../../databases/postgresql92/Makefile.common"
Index: pkgsrc/databases/postgresql93/Makefile.common
diff -u pkgsrc/databases/postgresql93/Makefile.common:1.27 pkgsrc/databases/postgresql93/Makefile.common:1.28
--- pkgsrc/databases/postgresql93/Makefile.common:1.27 Mon Sep 4 19:33:43 2017
+++ pkgsrc/databases/postgresql93/Makefile.common Fri Nov 10 14:47:41 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.27 2017/09/04 19:33:43 adam Exp $
+# $NetBSD: Makefile.common,v 1.28 2017/11/10 14:47:41 fhajny Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -75,6 +75,14 @@ CONFIGURE_ARGS+= --without-zlib
# procfs and largefile.
CONFIGURE_ENV.SunOS+= ac_cv_header_sys_ucred_h=no
+# pkgsrc silently filters the --as-needed linker arg, but that makes
+# it leak into the pgxs Makefiles and compromises manual building
+# against PostgreSQL files installed. Disable it here to prevent
+# that from happening.
+.if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin"
+CONFIGURE_ENV+= pgac_cv_prog_cc_ldflags__Wl___as_needed=no
+.endif
+
# configure fails on OpenBSD and MirBSD if thread safety is enabled.
CONFIGURE_ARGS.MirBSD+= --disable-thread-safety
CONFIGURE_ARGS.OpenBSD+= --disable-thread-safety
Index: pkgsrc/databases/postgresql93-client/Makefile
diff -u pkgsrc/databases/postgresql93-client/Makefile:1.11 pkgsrc/databases/postgresql93-client/Makefile:1.12
--- pkgsrc/databases/postgresql93-client/Makefile:1.11 Tue Aug 23 06:28:16 2016
+++ pkgsrc/databases/postgresql93-client/Makefile Fri Nov 10 14:47:41 2017
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2016/08/23 06:28:16 adam Exp $
+# $NetBSD: Makefile,v 1.12 2017/11/10 14:47:41 fhajny Exp $
PKGNAME= ${DISTNAME:C/-/93-client-/}
+PKGREVISION= 1
COMMENT= PostgreSQL database client programs
.include "../../databases/postgresql93/Makefile.common"
Index: pkgsrc/databases/postgresql94/Makefile.common
diff -u pkgsrc/databases/postgresql94/Makefile.common:1.19 pkgsrc/databases/postgresql94/Makefile.common:1.20
--- pkgsrc/databases/postgresql94/Makefile.common:1.19 Mon Sep 4 19:33:43 2017
+++ pkgsrc/databases/postgresql94/Makefile.common Fri Nov 10 14:47:41 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.19 2017/09/04 19:33:43 adam Exp $
+# $NetBSD: Makefile.common,v 1.20 2017/11/10 14:47:41 fhajny Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -75,6 +75,14 @@ CONFIGURE_ARGS+= --without-zlib
# procfs and largefile.
CONFIGURE_ENV.SunOS+= ac_cv_header_sys_ucred_h=no
+# pkgsrc silently filters the --as-needed linker arg, but that makes
+# it leak into the pgxs Makefiles and compromises manual building
+# against PostgreSQL files installed. Disable it here to prevent
+# that from happening.
+.if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin"
+CONFIGURE_ENV+= pgac_cv_prog_cc_ldflags__Wl___as_needed=no
+.endif
+
# configure fails on OpenBSD and MirBSD if thread safety is enabled.
CONFIGURE_ARGS.MirBSD+= --disable-thread-safety
CONFIGURE_ARGS.OpenBSD+= --disable-thread-safety
Index: pkgsrc/databases/postgresql94-client/Makefile
diff -u pkgsrc/databases/postgresql94-client/Makefile:1.5 pkgsrc/databases/postgresql94-client/Makefile:1.6
--- pkgsrc/databases/postgresql94-client/Makefile:1.5 Sun Aug 14 16:56:30 2016
+++ pkgsrc/databases/postgresql94-client/Makefile Fri Nov 10 14:47:42 2017
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2016/08/14 16:56:30 is Exp $
+# $NetBSD: Makefile,v 1.6 2017/11/10 14:47:42 fhajny Exp $
PKGNAME= ${DISTNAME:C/-/94-client-/}
-PKGREVISION= #
+PKGREVISION= 1
COMMENT= PostgreSQL database client programs
.include "../../databases/postgresql94/Makefile.common"
Index: pkgsrc/databases/postgresql95/Makefile.common
diff -u pkgsrc/databases/postgresql95/Makefile.common:1.12 pkgsrc/databases/postgresql95/Makefile.common:1.13
--- pkgsrc/databases/postgresql95/Makefile.common:1.12 Mon Sep 4 19:33:43 2017
+++ pkgsrc/databases/postgresql95/Makefile.common Fri Nov 10 14:47:41 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.12 2017/09/04 19:33:43 adam Exp $
+# $NetBSD: Makefile.common,v 1.13 2017/11/10 14:47:41 fhajny Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -77,6 +77,14 @@ CONFIGURE_ARGS+= --without-zlib
CONFIGURE_ENV+= ac_cv_header_sys_ucred_h=no
.endif
+# pkgsrc silently filters the --as-needed linker arg, but that makes
+# it leak into the pgxs Makefiles and compromises manual building
+# against PostgreSQL files installed. Disable it here to prevent
+# that from happening.
+.if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin"
+CONFIGURE_ENV+= pgac_cv_prog_cc_ldflags__Wl___as_needed=no
+.endif
+
# configure fails on OpenBSD and MirBSD if thread safety is enabled.
.if ${OPSYS} == "OpenBSD" || ${OPSYS} == "MirBSD"
CONFIGURE_ARGS+= --disable-thread-safety
Index: pkgsrc/databases/postgresql95-client/Makefile
diff -u pkgsrc/databases/postgresql95-client/Makefile:1.5 pkgsrc/databases/postgresql95-client/Makefile:1.6
--- pkgsrc/databases/postgresql95-client/Makefile:1.5 Sun Aug 13 19:25:18 2017
+++ pkgsrc/databases/postgresql95-client/Makefile Fri Nov 10 14:47:42 2017
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2017/08/13 19:25:18 adam Exp $
+# $NetBSD: Makefile,v 1.6 2017/11/10 14:47:42 fhajny Exp $
PKGNAME= ${DISTNAME:C/-/95-client-/}
+PKGREVISION= 1
COMMENT= PostgreSQL database client programs
.include "../../databases/postgresql95/Makefile.common"
Index: pkgsrc/databases/postgresql96/Makefile.common
diff -u pkgsrc/databases/postgresql96/Makefile.common:1.6 pkgsrc/databases/postgresql96/Makefile.common:1.7
--- pkgsrc/databases/postgresql96/Makefile.common:1.6 Mon Sep 4 19:33:43 2017
+++ pkgsrc/databases/postgresql96/Makefile.common Fri Nov 10 14:47:41 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.6 2017/09/04 19:33:43 adam Exp $
+# $NetBSD: Makefile.common,v 1.7 2017/11/10 14:47:41 fhajny Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -77,6 +77,14 @@ CONFIGURE_ARGS+= --without-zlib
CONFIGURE_ENV+= ac_cv_header_sys_ucred_h=no
.endif
+# pkgsrc silently filters the --as-needed linker arg, but that makes
+# it leak into the pgxs Makefiles and compromises manual building
+# against PostgreSQL files installed. Disable it here to prevent
+# that from happening.
+.if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin"
+CONFIGURE_ENV+= pgac_cv_prog_cc_ldflags__Wl___as_needed=no
+.endif
+
# configure fails on OpenBSD and MirBSD if thread safety is enabled.
.if ${OPSYS} == "OpenBSD" || ${OPSYS} == "MirBSD"
CONFIGURE_ARGS+= --disable-thread-safety
Index: pkgsrc/databases/postgresql96-client/Makefile
diff -u pkgsrc/databases/postgresql96-client/Makefile:1.3 pkgsrc/databases/postgresql96-client/Makefile:1.4
--- pkgsrc/databases/postgresql96-client/Makefile:1.3 Sun Aug 13 19:25:18 2017
+++ pkgsrc/databases/postgresql96-client/Makefile Fri Nov 10 14:47:42 2017
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2017/08/13 19:25:18 adam Exp $
+# $NetBSD: Makefile,v 1.4 2017/11/10 14:47:42 fhajny Exp $
PKGNAME= ${DISTNAME:C/-/96-client-/}
+PKGREVISION= 1
COMMENT= PostgreSQL database client programs
.include "../../databases/postgresql96/Makefile.common"
Home |
Main Index |
Thread Index |
Old Index