summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-04-16 06:38:20 +0000
committernia <nia@pkgsrc.org>2021-04-16 06:38:20 +0000
commitf9ae5eaa7ebf0e96a485f8eb9a96419f08c109de (patch)
tree9d650ee0f9d1e7c825ced3086dd978ec2f44afe1
parenta2a4062323dcaaf82d17d70bdfa2e8c3273ad3e9 (diff)
downloadpkgsrc-f9ae5eaa7ebf0e96a485f8eb9a96419f08c109de.tar.gz
postgresql: ensure linux libuuid is buildlinked when needed
-rw-r--r--databases/postgresql10/Makefile.common3
-rw-r--r--databases/postgresql11/Makefile.common3
-rw-r--r--databases/postgresql12/Makefile.common3
-rw-r--r--databases/postgresql13/Makefile.common3
-rw-r--r--databases/postgresql95/Makefile.common3
-rw-r--r--databases/postgresql96/Makefile.common3
6 files changed, 12 insertions, 6 deletions
diff --git a/databases/postgresql10/Makefile.common b/databases/postgresql10/Makefile.common
index d5030b8cded..298b5cea958 100644
--- a/databases/postgresql10/Makefile.common
+++ b/databases/postgresql10/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.25 2021/03/18 15:04:53 adam Exp $
+# $NetBSD: Makefile.common,v 1.26 2021/04/16 06:38:20 nia Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -102,6 +102,7 @@ CONFIGURE_ARGS+= --with-blocksize=${PGSQL_BLCKSZ}
CONFIGURE_ARGS+= --with-uuid=bsd
.elif ${OPSYS} == "Darwin" || ${OPSYS} == "Linux"
CONFIGURE_ARGS+= --with-uuid=e2fs
+.include "../../devel/libuuid/buildlink3.mk"
.elif ${OPSYS} == "SunOS"
CONFIGURE_ARGS+= --with-uuid=ossp
.include "../../devel/ossp-uuid/buildlink3.mk"
diff --git a/databases/postgresql11/Makefile.common b/databases/postgresql11/Makefile.common
index 9e82f0cef6a..415d0c28518 100644
--- a/databases/postgresql11/Makefile.common
+++ b/databases/postgresql11/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.18 2021/03/18 15:04:54 adam Exp $
+# $NetBSD: Makefile.common,v 1.19 2021/04/16 06:38:20 nia Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -102,6 +102,7 @@ CONFIGURE_ARGS+= --with-blocksize=${PGSQL_BLCKSZ}
CONFIGURE_ARGS+= --with-uuid=bsd
.elif ${OPSYS} == "Darwin" || ${OPSYS} == "Linux"
CONFIGURE_ARGS+= --with-uuid=e2fs
+.include "../../devel/libuuid/buildlink3.mk"
.elif ${OPSYS} == "SunOS"
CONFIGURE_ARGS+= --with-uuid=ossp
.include "../../devel/ossp-uuid/buildlink3.mk"
diff --git a/databases/postgresql12/Makefile.common b/databases/postgresql12/Makefile.common
index dd86dddc3a8..2cf4677a2ba 100644
--- a/databases/postgresql12/Makefile.common
+++ b/databases/postgresql12/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.11 2021/03/18 15:04:54 adam Exp $
+# $NetBSD: Makefile.common,v 1.12 2021/04/16 06:38:20 nia Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -102,6 +102,7 @@ CONFIGURE_ARGS+= --with-blocksize=${PGSQL_BLCKSZ}
CONFIGURE_ARGS+= --with-uuid=bsd
.elif ${OPSYS} == "Darwin" || ${OPSYS} == "Linux"
CONFIGURE_ARGS+= --with-uuid=e2fs
+.include "../../devel/libuuid/buildlink3.mk"
.elif ${OPSYS} == "SunOS"
CONFIGURE_ARGS+= --with-uuid=ossp
.include "../../devel/ossp-uuid/buildlink3.mk"
diff --git a/databases/postgresql13/Makefile.common b/databases/postgresql13/Makefile.common
index 08a1ebebb57..664ff3f3918 100644
--- a/databases/postgresql13/Makefile.common
+++ b/databases/postgresql13/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.4 2021/03/18 15:04:55 adam Exp $
+# $NetBSD: Makefile.common,v 1.5 2021/04/16 06:38:20 nia Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -102,6 +102,7 @@ CONFIGURE_ARGS+= --with-blocksize=${PGSQL_BLCKSZ}
CONFIGURE_ARGS+= --with-uuid=bsd
.elif ${OPSYS} == "Darwin" || ${OPSYS} == "Linux"
CONFIGURE_ARGS+= --with-uuid=e2fs
+.include "../../devel/libuuid/buildlink3.mk"
.elif ${OPSYS} == "SunOS"
CONFIGURE_ARGS+= --with-uuid=ossp
.include "../../devel/ossp-uuid/buildlink3.mk"
diff --git a/databases/postgresql95/Makefile.common b/databases/postgresql95/Makefile.common
index a389a294ad8..ebc8aa25817 100644
--- a/databases/postgresql95/Makefile.common
+++ b/databases/postgresql95/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.36 2021/03/18 15:04:55 adam Exp $
+# $NetBSD: Makefile.common,v 1.37 2021/04/16 06:38:20 nia Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -103,6 +103,7 @@ CONFIGURE_ARGS+= --with-blocksize=${PGSQL_BLCKSZ}
CONFIGURE_ARGS+= --with-uuid=bsd
.elif ${OPSYS} == "Darwin" || ${OPSYS} == "Linux"
CONFIGURE_ARGS+= --with-uuid=e2fs
+.include "../../devel/libuuid/buildlink3.mk"
.elif ${OPSYS} == "SunOS"
CONFIGURE_ARGS+= --with-uuid=ossp
.include "../../devel/ossp-uuid/buildlink3.mk"
diff --git a/databases/postgresql96/Makefile.common b/databases/postgresql96/Makefile.common
index 3c6eb2ddcac..5a91d152724 100644
--- a/databases/postgresql96/Makefile.common
+++ b/databases/postgresql96/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.30 2021/03/18 15:04:56 adam Exp $
+# $NetBSD: Makefile.common,v 1.31 2021/04/16 06:38:21 nia Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -103,6 +103,7 @@ CONFIGURE_ARGS+= --with-blocksize=${PGSQL_BLCKSZ}
CONFIGURE_ARGS+= --with-uuid=bsd
.elif ${OPSYS} == "Darwin" || ${OPSYS} == "Linux"
CONFIGURE_ARGS+= --with-uuid=e2fs
+.include "../../devel/libuuid/buildlink3.mk"
.elif ${OPSYS} == "SunOS"
CONFIGURE_ARGS+= --with-uuid=ossp
.include "../../devel/ossp-uuid/buildlink3.mk"