summaryrefslogtreecommitdiff
path: root/devel/gettext-lib
diff options
context:
space:
mode:
authorjlam <jlam>2004-03-22 20:57:38 +0000
committerjlam <jlam>2004-03-22 20:57:38 +0000
commit03964038784c8c9fa31b0872b239314bc1c5e95b (patch)
treec53570ee989fc188d8b8b3171946a8e737db981f /devel/gettext-lib
parent04ef4c9b38d1adc5b8f19094be94ce1a4377e711 (diff)
downloadpkgsrc-03964038784c8c9fa31b0872b239314bc1c5e95b.tar.gz
Assume that the native gettext implementation will satisfy GNU gettext
dependencies unless USE_GNU_GETTEXT is defined or IMCOMPAT_GETTEXT is set appropriately. This should allow packages to use the glibc gettext routines on Linux.
Diffstat (limited to 'devel/gettext-lib')
-rw-r--r--devel/gettext-lib/builtin.mk15
1 files changed, 8 insertions, 7 deletions
diff --git a/devel/gettext-lib/builtin.mk b/devel/gettext-lib/builtin.mk
index a67981691db..722b706b355 100644
--- a/devel/gettext-lib/builtin.mk
+++ b/devel/gettext-lib/builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.2 2004/03/16 17:40:54 jlam Exp $
+# $NetBSD: builtin.mk,v 1.3 2004/03/22 20:57:38 jlam Exp $
.if !defined(_BLNK_LIBINTL_FOUND)
_BLNK_LIBINTL_FOUND!= \
@@ -22,9 +22,9 @@ IS_BUILTIN.gettext!= \
${ECHO} "no"; \
fi
. if !empty(IS_BUILTIN.gettext:M[yY][eE][sS])
-#
-# XXX Consider the base system libintl to be gettext-lib-0.10.35nb1.
-#
+# XXX
+# XXX Consider the native libintl to be gettext-lib-0.10.35nb1.
+# XXX
BUILTIN_PKG.gettext= gettext-lib-0.10.35nb1
MAKEFLAGS+= BUILTIN_PKG.gettext=${BUILTIN_PKG.gettext}
. endif
@@ -57,12 +57,13 @@ USE_BUILTIN.gettext!= \
. if ${PREFER.gettext} == "native"
# XXX
-# XXX By default, assume that the native libintl is good enough.
+# XXX By default, assume that the native gettext implementation is good
+# XXX enough.
# XXX
-. if !empty(_BLNK_LIBINTL_FOUND:M[yY][eE][sS]) && exists(${_LIBINTL_H})
+. if exists(${_LIBINTL_H})
USE_BUILTIN.gettext= yes
#
-# The listed platforms have an implementation of libintl that isn't
+# The listed platforms have an implementation of gettext that isn't
# GNUish enough.
#
_INCOMPAT_GETTEXT= SunOS-*-*