summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorgrant <grant>2006-03-08 02:29:06 +0000
committergrant <grant>2006-03-08 02:29:06 +0000
commit91188b6d12601281e3621a73b7f9bb88eefacfff (patch)
tree517d86000b82a1209af3a39e0da59159fbfd3420 /databases
parent1224456cf213d99ac5f7f8c69df2933efcc4040b (diff)
downloadpkgsrc-91188b6d12601281e3621a73b7f9bb88eefacfff.tar.gz
postgresql configure doesn't always correctly detect that it needs
libintl, so pass it via LIBS to configure. fixes build on Solaris.
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql74/Makefile.common6
-rw-r--r--databases/postgresql80/Makefile.common6
2 files changed, 10 insertions, 2 deletions
diff --git a/databases/postgresql74/Makefile.common b/databases/postgresql74/Makefile.common
index e14c6a953fe..e47cb2cf2b4 100644
--- a/databases/postgresql74/Makefile.common
+++ b/databases/postgresql74/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.31 2006/02/27 09:17:20 ghen Exp $
+# $NetBSD: Makefile.common,v 1.32 2006/03/08 02:29:06 grant Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -155,5 +155,9 @@ post-extract:
LIBS+= -lltdl
.endif
+# libintl library dependency is not correctly detected in all cases,
+# so simply always include it here.
+LIBS+= -lintl
+
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
diff --git a/databases/postgresql80/Makefile.common b/databases/postgresql80/Makefile.common
index 70db57cf593..26f8e7737de 100644
--- a/databases/postgresql80/Makefile.common
+++ b/databases/postgresql80/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.16 2006/02/21 19:05:07 joerg Exp $
+# $NetBSD: Makefile.common,v 1.17 2006/03/08 02:29:06 grant Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -104,6 +104,10 @@ USE_LIBLTDL?= no
FILES_SUBST+= PG_PREFIX=${PG_PREFIX:Q}
+# libintl library dependency is not correctly detected in all cases,
+# so simply always include it here.
+LIBS+= -lintl
+
.include "../../devel/gettext-lib/buildlink3.mk"
post-extract: