summaryrefslogtreecommitdiff
path: root/devel/gettext-lib
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-05-28 06:08:57 +0000
committerjlam <jlam@pkgsrc.org>2001-05-28 06:08:57 +0000
commitf3aabc7a155351fd0083ce9e13977037b34f8322 (patch)
tree3aaf5049bcae5a02c50ed53ef4eb34f7e8dce9ac /devel/gettext-lib
parentea23929312fd7871ff53b4085ec54de9d63ae079 (diff)
downloadpkgsrc-f3aabc7a155351fd0083ce9e13977037b34f8322.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}