pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases postgres*: detect NetBSD/sparc correctly



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7f07b04db26d
branches:  trunk
changeset: 454569:7f07b04db26d
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Jun 13 08:56:26 2021 +0000

description:
postgres*: detect NetBSD/sparc correctly

diffstat:

 databases/postgresql10/Makefile.common |  6 +++++-
 databases/postgresql11/Makefile.common |  6 +++++-
 databases/postgresql12/Makefile.common |  6 +++++-
 databases/postgresql13/Makefile.common |  6 +++++-
 databases/postgresql96/Makefile.common |  6 +++++-
 5 files changed, 25 insertions(+), 5 deletions(-)

diffs (100 lines):

diff -r 09d8ae206450 -r 7f07b04db26d databases/postgresql10/Makefile.common
--- a/databases/postgresql10/Makefile.common    Sun Jun 13 08:42:47 2021 +0000
+++ b/databases/postgresql10/Makefile.common    Sun Jun 13 08:56:26 2021 +0000
@@ -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 @@
 # 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
diff -r 09d8ae206450 -r 7f07b04db26d databases/postgresql11/Makefile.common
--- a/databases/postgresql11/Makefile.common    Sun Jun 13 08:42:47 2021 +0000
+++ b/databases/postgresql11/Makefile.common    Sun Jun 13 08:56:26 2021 +0000
@@ -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 @@
 # 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
diff -r 09d8ae206450 -r 7f07b04db26d databases/postgresql12/Makefile.common
--- a/databases/postgresql12/Makefile.common    Sun Jun 13 08:42:47 2021 +0000
+++ b/databases/postgresql12/Makefile.common    Sun Jun 13 08:56:26 2021 +0000
@@ -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 @@
 # 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
diff -r 09d8ae206450 -r 7f07b04db26d databases/postgresql13/Makefile.common
--- a/databases/postgresql13/Makefile.common    Sun Jun 13 08:42:47 2021 +0000
+++ b/databases/postgresql13/Makefile.common    Sun Jun 13 08:56:26 2021 +0000
@@ -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 @@
 # 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
diff -r 09d8ae206450 -r 7f07b04db26d databases/postgresql96/Makefile.common
--- a/databases/postgresql96/Makefile.common    Sun Jun 13 08:42:47 2021 +0000
+++ b/databases/postgresql96/Makefile.common    Sun Jun 13 08:56:26 2021 +0000
@@ -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 @@
 # 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