summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-04-10 13:51:23 +0000
committerjlam <jlam@pkgsrc.org>2002-04-10 13:51:23 +0000
commit449c87aac65322c717be531ae2074a08f203aedc (patch)
treeee400e1f6be7f8abe1afb23ea1e92a09f763796f /devel
parent70d5ee592efee190d39c380584bf4e4e00ac9ae6 (diff)
downloadpkgsrc-449c87aac65322c717be531ae2074a08f203aedc.tar.gz
Find libintl in ${BUILDLINK_DIR}. It turns out that the base system's
libintl.so won't pass the test for a GNU gettext, so building bison will build the supplied gettext anyway, but there won't be a dependency on gettext-lib in any case, so the bookkeeping is correct. If there isn't a libintl.so in the base system, then bison will use the libintl.so installed by gettext-lib, so again the bookkeeping will be correct. So the short of it is that this is strongly buildlinked again.
Diffstat (limited to 'devel')
-rw-r--r--devel/bison/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/bison/Makefile b/devel/bison/Makefile
index 6cdd2fa5a79..ba420040fe8 100644
--- a/devel/bison/Makefile
+++ b/devel/bison/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2002/03/29 09:42:51 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2002/04/10 13:51:23 jlam Exp $
DISTNAME= bison-1.35
CATEGORIES= devel
@@ -14,6 +14,8 @@ BUILD_USES_MSGFMT= yes
USE_BUILDLINK_ONLY= # defined
GNU_CONFIGURE= # defined
CONFIGURE_ARGS+= --without-included-gettext
+CONFIGURE_ARGS+= --with-libintl-prefix=${BUILDLINK_DIR}
+
# We set the timezone to "GMT" below to avoid rebuilds of the info files
# which fail under NetBSD 1.5.
MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}" TZ=GMT