summaryrefslogtreecommitdiff
path: root/devel/gettext-lib
diff options
context:
space:
mode:
authorjlam <jlam>2001-05-28 06:08:57 +0000
committerjlam <jlam>2001-05-28 06:08:57 +0000
commit50f5348c04ad2306d2cc7b068e18ffb4122e5001 (patch)
tree3aaf5049bcae5a02c50ed53ef4eb34f7e8dce9ac /devel/gettext-lib
parentd3e09dcb9eff2df4fb140a97941706cbac2f8572 (diff)
downloadpkgsrc-50f5348c04ad2306d2cc7b068e18ffb4122e5001.tar.gz
Comment the last commit.
Diffstat (limited to 'devel/gettext-lib')
-rw-r--r--devel/gettext-lib/buildlink.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/gettext-lib/buildlink.mk b/devel/gettext-lib/buildlink.mk
index ac752fb3da0..09e5745f670 100644
--- a/devel/gettext-lib/buildlink.mk
+++ b/devel/gettext-lib/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.2 2001/05/28 06:07:16 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.3 2001/05/28 06:08:57 jlam Exp $
#
# This Makefile fragment is included by packages that use gettext.
#
@@ -39,6 +39,12 @@ BUILDLINK_INCDIR?= ${WRKDIR}/include
BUILDLINK_LIBDIR?= ${WRKDIR}/lib
.if defined(GNU_CONFIGURE)
+#
+# Add -lintl to LIBS in CONFIGURE_ENV to work around broken gettext.m4:
+# gettext.m4 does not add -lintl where it should, and the resulting
+# configure script fails to detect if libintl.a is the genuine GNU gettext
+# or not.
+#
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
CONFIGURE_ENV+= LIBS="${LIBS}"
CFLAGS+= -I${BUILDLINK_INCDIR}