diff options
author | jlam <jlam@pkgsrc.org> | 2002-10-07 19:11:16 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-10-07 19:11:16 +0000 |
commit | e93173bd319750152e7445b80135123a3bd9d859 (patch) | |
tree | f8f45129a5108ab0cc445a6f794427d1d9c8e431 /devel/gettext-lib | |
parent | 9ca10e1b4bc159ae7bc245a4871653ad896f3b18 (diff) | |
download | pkgsrc-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.mk | 6 |
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 |