summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-05-24 05:43:37 +0000
committerjlam <jlam@pkgsrc.org>2005-05-24 05:43:37 +0000
commit11b55edd57d1fe41a0bc4b8702d1545b4e43c62e (patch)
tree4484e0293866652c7da9aafab1144911acfcbd03 /devel
parent1771603872d3984970a740fbb09d80cbf8c1e00d (diff)
downloadpkgsrc-11b55edd57d1fe41a0bc4b8702d1545b4e43c62e.tar.gz
Rename _LIBINTL_H to _BLNK_LIBINTL_H (namespace issues).
Diffstat (limited to 'devel')
-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 7cf75984ec8..c65092c06a5 100644
--- a/devel/gettext-lib/builtin.mk
+++ b/devel/gettext-lib/builtin.mk
@@ -1,15 +1,16 @@
-# $NetBSD: builtin.mk,v 1.21 2005/05/24 05:41:32 jlam Exp $
+# $NetBSD: builtin.mk,v 1.22 2005/05/24 05:43:37 jlam Exp $
BUILDLINK_FIND_LIBS:= intl
.include "../../mk/buildlink3/find-libs.mk"
-_LIBINTL_H= /usr/include/libintl.h
+_BLNK_LIBINTL_H= /usr/include/libintl.h
.if !defined(IS_BUILTIN.gettext)
IS_BUILTIN.gettext= no
-. if exists(${_LIBINTL_H}) && !empty(BUILDLINK_LIB_FOUND.intl:M[yY][eE][sS])
+. if exists(${_BLNK_LIBINTL_H}) && \
+ !empty(BUILDLINK_LIB_FOUND.intl:M[yY][eE][sS])
IS_BUILTIN.gettext!= \
- if ${GREP} -q "\#define[ ]*__USE_GNU_GETTEXT" ${_LIBINTL_H}; then \
+ if ${GREP} -q "\#define[ ]*__USE_GNU_GETTEXT" ${_BLNK_LIBINTL_H}; then \
${ECHO} "yes"; \
else \
${ECHO} "no"; \
@@ -48,9 +49,9 @@ USE_BUILTIN.gettext!= \
# XXX By default, assume that the native gettext implementation is good
# XXX enough if it has a prototype for ngettext().
# XXX
-. if !defined(_GETTEXT_NGETTEXT) && exists(${_LIBINTL_H})
+. if !defined(_GETTEXT_NGETTEXT) && exists(${_BLNK_LIBINTL_H})
_GETTEXT_NGETTEXT!= \
- if ${GREP} -q "char.*ngettext" ${_LIBINTL_H}; then \
+ if ${GREP} -q "char.*ngettext" ${_BLNK_LIBINTL_H}; then \
${ECHO} "yes"; \
else \
${ECHO} "no"; \
@@ -68,7 +69,7 @@ USE_BUILTIN.gettext= no
# XXX
. if (${OPSYS} == "Linux")
USE_BUILTIN.gettext!= \
- if ${GREP} -q "This file is part of the GNU C Library" ${_LIBINTL_H}; then \
+ if ${GREP} -q "This file is part of the GNU C Library" ${_BLNK_LIBINTL_H}; then \
${ECHO} "yes"; \
else \
${ECHO} "no"; \