pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/gettext-lib Rename _LIBINTL_H to _BLNK_LIBINTL_H...
details: https://anonhg.NetBSD.org/pkgsrc/rev/58ebe051b970
branches: trunk
changeset: 494425:58ebe051b970
user: jlam <jlam%pkgsrc.org@localhost>
date: Tue May 24 05:43:37 2005 +0000
description:
Rename _LIBINTL_H to _BLNK_LIBINTL_H (namespace issues).
diffstat:
devel/gettext-lib/builtin.mk | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diffs (45 lines):
diff -r 5b9929eb26a9 -r 58ebe051b970 devel/gettext-lib/builtin.mk
--- a/devel/gettext-lib/builtin.mk Tue May 24 05:42:37 2005 +0000
+++ b/devel/gettext-lib/builtin.mk Tue May 24 05:43:37 2005 +0000
@@ -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 @@
# 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 @@
# 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"; \
Home |
Main Index |
Thread Index |
Old Index