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:   nia
Date:           Sun Jun 13 08:56:27 UTC 2021

Modified Files:
        pkgsrc/databases/postgresql10: Makefile.common
        pkgsrc/databases/postgresql11: Makefile.common
        pkgsrc/databases/postgresql12: Makefile.common
        pkgsrc/databases/postgresql13: Makefile.common
        pkgsrc/databases/postgresql96: Makefile.common

Log Message:
postgres*: detect NetBSD/sparc correctly


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/databases/postgresql10/Makefile.common
cvs rdiff -u -r1.21 -r1.22 pkgsrc/databases/postgresql11/Makefile.common
cvs rdiff -u -r1.14 -r1.15 pkgsrc/databases/postgresql12/Makefile.common
cvs rdiff -u -r1.7 -r1.8 pkgsrc/databases/postgresql13/Makefile.common
cvs rdiff -u -r1.33 -r1.34 pkgsrc/databases/postgresql96/Makefile.common

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.28 pkgsrc/databases/postgresql10/Makefile.common:1.29
--- pkgsrc/databases/postgresql10/Makefile.common:1.28  Tue May 18 11:56:16 2021
+++ pkgsrc/databases/postgresql10/Makefile.common       Sun Jun 13 08:56:26 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.28 2021/05/18 11:56:16 adam Exp $
+# $NetBSD: Makefile.common,v 1.29 2021/06/13 08:56:26 nia Exp $
 #
 # This Makefile fragment is included by all PostgreSQL packages built from
 # the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -88,6 +88,10 @@ CONFIGURE_ENV+=              pgac_cv_prog_cc_ldflags
 # https://www.postgresql.org/message-id/E1X0yaj-000753-N6%40gemulon.postgresql.org
 BROKEN_ON_PLATFORM+=   *-*-alpha
 
+.if ${MACHINE_ARCH} == "sparc"
+CFLAGS.NetBSD+=                -D__sparc_v8__
+.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/postgresql11/Makefile.common
diff -u pkgsrc/databases/postgresql11/Makefile.common:1.21 pkgsrc/databases/postgresql11/Makefile.common:1.22
--- pkgsrc/databases/postgresql11/Makefile.common:1.21  Tue May 18 11:56:17 2021
+++ pkgsrc/databases/postgresql11/Makefile.common       Sun Jun 13 08:56:26 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.21 2021/05/18 11:56:17 adam Exp $
+# $NetBSD: Makefile.common,v 1.22 2021/06/13 08:56:26 nia Exp $
 #
 # This Makefile fragment is included by all PostgreSQL packages built from
 # the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -88,6 +88,10 @@ CONFIGURE_ENV+=              pgac_cv_prog_cc_ldflags
 # https://www.postgresql.org/message-id/E1X0yaj-000753-N6%40gemulon.postgresql.org
 BROKEN_ON_PLATFORM+=   *-*-alpha
 
+.if ${MACHINE_ARCH} == "sparc"
+CFLAGS.NetBSD+=                -D__sparc_v8__
+.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/postgresql12/Makefile.common
diff -u pkgsrc/databases/postgresql12/Makefile.common:1.14 pkgsrc/databases/postgresql12/Makefile.common:1.15
--- pkgsrc/databases/postgresql12/Makefile.common:1.14  Tue May 18 11:56:18 2021
+++ pkgsrc/databases/postgresql12/Makefile.common       Sun Jun 13 08:56:26 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.14 2021/05/18 11:56:18 adam Exp $
+# $NetBSD: Makefile.common,v 1.15 2021/06/13 08:56:26 nia Exp $
 #
 # This Makefile fragment is included by all PostgreSQL packages built from
 # the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -88,6 +88,10 @@ CONFIGURE_ENV+=              pgac_cv_prog_cc_ldflags
 # https://www.postgresql.org/message-id/E1X0yaj-000753-N6%40gemulon.postgresql.org
 BROKEN_ON_PLATFORM+=   *-*-alpha
 
+.if ${MACHINE_ARCH} == "sparc"
+CFLAGS.NetBSD+=                -D__sparc_v8__
+.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/postgresql13/Makefile.common
diff -u pkgsrc/databases/postgresql13/Makefile.common:1.7 pkgsrc/databases/postgresql13/Makefile.common:1.8
--- pkgsrc/databases/postgresql13/Makefile.common:1.7   Tue May 18 11:56:19 2021
+++ pkgsrc/databases/postgresql13/Makefile.common       Sun Jun 13 08:56:26 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.7 2021/05/18 11:56:19 adam Exp $
+# $NetBSD: Makefile.common,v 1.8 2021/06/13 08:56:26 nia Exp $
 #
 # This Makefile fragment is included by all PostgreSQL packages built from
 # the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -88,6 +88,10 @@ CONFIGURE_ENV+=              pgac_cv_prog_cc_ldflags
 # https://www.postgresql.org/message-id/E1X0yaj-000753-N6%40gemulon.postgresql.org
 BROKEN_ON_PLATFORM+=   *-*-alpha
 
+.if ${MACHINE_ARCH} == "sparc"
+CFLAGS.NetBSD+=                -D__sparc_v8__
+.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/postgresql96/Makefile.common
diff -u pkgsrc/databases/postgresql96/Makefile.common:1.33 pkgsrc/databases/postgresql96/Makefile.common:1.34
--- pkgsrc/databases/postgresql96/Makefile.common:1.33  Tue May 18 11:56:21 2021
+++ pkgsrc/databases/postgresql96/Makefile.common       Sun Jun 13 08:56:27 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.33 2021/05/18 11:56:21 adam Exp $
+# $NetBSD: Makefile.common,v 1.34 2021/06/13 08:56:27 nia Exp $
 #
 # This Makefile fragment is included by all PostgreSQL packages built from
 # the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -89,6 +89,10 @@ CONFIGURE_ENV+=              pgac_cv_prog_cc_ldflags
 # https://www.postgresql.org/message-id/E1X0yaj-000753-N6%40gemulon.postgresql.org
 BROKEN_ON_PLATFORM+=   *-*-alpha
 
+.if ${MACHINE_ARCH} == "sparc"
+CFLAGS.NetBSD+=                -D__sparc_v8__
+.endif
+
 # configure fails on OpenBSD and MirBSD if thread safety is enabled.
 CONFIGURE_ARGS.MirBSD+=                --disable-thread-safety
 CONFIGURE_ARGS.OpenBSD+=       --disable-thread-safety



Home | Main Index | Thread Index | Old Index