diff options
author | grant <grant@pkgsrc.org> | 2006-03-08 02:29:06 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2006-03-08 02:29:06 +0000 |
commit | 4d0d0c47a56bfa3906383c97d8bc72bc97e531d7 (patch) | |
tree | 517d86000b82a1209af3a39e0da59159fbfd3420 /databases | |
parent | 5f391d7eae75351d91d38e9e22e0af15a897858d (diff) | |
download | pkgsrc-4d0d0c47a56bfa3906383c97d8bc72bc97e531d7.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.common | 6 | ||||
-rw-r--r-- | databases/postgresql80/Makefile.common | 6 |
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: |