summaryrefslogtreecommitdiff
path: root/devel/gettext-lib
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-10-07 19:11:16 +0000
committerjlam <jlam@pkgsrc.org>2002-10-07 19:11:16 +0000
commite93173bd319750152e7445b80135123a3bd9d859 (patch)
treef8f45129a5108ab0cc445a6f794427d1d9c8e431 /devel/gettext-lib
parent9ca10e1b4bc159ae7bc245a4871653ad896f3b18 (diff)
downloadpkgsrc-e93173bd319750152e7445b80135123a3bd9d859.tar.gz
Check that /usr/lib/libintl.* also exists before we use the system libintl
instead of GNU gettext from pkgsrc. Fixes pkg/18570.
Diffstat (limited to 'devel/gettext-lib')
-rw-r--r--devel/gettext-lib/buildlink2.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/gettext-lib/buildlink2.mk b/devel/gettext-lib/buildlink2.mk
index d978492d1dd..0f9f35bcec3 100644
--- a/devel/gettext-lib/buildlink2.mk
+++ b/devel/gettext-lib/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.5 2002/09/27 00:44:33 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.6 2002/10/07 19:11:16 jlam Exp $
.if !defined(GETTEXT_BUILDLINK2_MK)
GETTEXT_BUILDLINK2_MK= # defined
@@ -11,7 +11,9 @@ BUILDLINK_PKGSRCDIR.gettext?= ../../devel/gettext-lib
.if defined(USE_GNU_GETTEXT)
_NEED_GNU_GETTEXT= YES
.else
-. if exists(/usr/include/libintl.h)
+_BLNK_LIBINTL_LIST!= ${ECHO} /usr/lib/libintl.*
+. if exists(/usr/include/libintl.h) && \
+ (${_BLNK_LIBINTL_LIST} != "/usr/lib/libintl.*")
_NEED_GNU_GETTEXT= NO
. else
_NEED_GNU_GETTEXT= YES