pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases postgresql configure doesn't always correctl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/36dd5369b311
branches:  trunk
changeset: 509286:36dd5369b311
user:      grant <grant%pkgsrc.org@localhost>
date:      Wed Mar 08 02:29:06 2006 +0000

description:
postgresql configure doesn't always correctly detect that it needs
libintl, so pass it via LIBS to configure.

fixes build on Solaris.

diffstat:

 databases/postgresql74/Makefile.common |  6 +++++-
 databases/postgresql80/Makefile.common |  6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diffs (39 lines):

diff -r ea9301445d57 -r 36dd5369b311 databases/postgresql74/Makefile.common
--- a/databases/postgresql74/Makefile.common    Wed Mar 08 01:56:46 2006 +0000
+++ b/databases/postgresql74/Makefile.common    Wed Mar 08 02:29:06 2006 +0000
@@ -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 @@
 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 -r ea9301445d57 -r 36dd5369b311 databases/postgresql80/Makefile.common
--- a/databases/postgresql80/Makefile.common    Wed Mar 08 01:56:46 2006 +0000
+++ b/databases/postgresql80/Makefile.common    Wed Mar 08 02:29:06 2006 +0000
@@ -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 @@
 
 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:



Home | Main Index | Thread Index | Old Index