summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: