pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc In builtin.mk files, use _BLTN_ as the private namespa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/995be6ee3398
branches:  trunk
changeset: 495223:995be6ee3398
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Jun 05 09:25:37 2005 +0000

description:
In builtin.mk files, use _BLTN_ as the private namespace prefix.

diffstat:

 converters/libiconv/builtin.mk |  22 +++++++++++-----------
 devel/gettext-lib/builtin.mk   |  40 ++++++++++++++++++++--------------------
 devel/libgetopt/builtin.mk     |   8 ++++----
 3 files changed, 35 insertions(+), 35 deletions(-)

diffs (197 lines):

diff -r e3f603b31081 -r 995be6ee3398 converters/libiconv/builtin.mk
--- a/converters/libiconv/builtin.mk    Sun Jun 05 06:14:17 2005 +0000
+++ b/converters/libiconv/builtin.mk    Sun Jun 05 09:25:37 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.10 2005/06/01 18:02:41 jlam Exp $
+# $NetBSD: builtin.mk,v 1.11 2005/06/05 09:25:37 jlam Exp $
 
 BUILTIN_PKG:=  iconv
 
@@ -74,8 +74,8 @@
 .        endif
 .      endfor
 .    endif
-.    if !defined(_BLNK_REPLACE.iconv)
-_BLNK_REPLACE.iconv=   no
+.    if !defined(_BLTN_REPLACE.iconv)
+_BLTN_REPLACE.iconv=   no
 # XXX
 # XXX By default, assume that the native iconv implementation is good
 # XXX enough to replace GNU libiconv if it is part of glibc (the GNU C
@@ -83,7 +83,7 @@
 # XXX
 .      if exists(/usr/include/iconv.h)
 H_ICONV=       /usr/include/iconv.h
-_BLNK_REPLACE.iconv!=                                                  \
+_BLTN_REPLACE.iconv!=                                                  \
        if ${GREP} -q "This file is part of the GNU C Library" ${H_ICONV}; then \
                ${ECHO} yes;                                            \
        else                                                            \
@@ -96,11 +96,11 @@
 # XXX
 .      if (${OPSYS} == "NetBSD") && exists(/usr/include/iconv.h)
 H_ICONV=       /usr/include/iconv.h
-_BLNK_REPLACE.iconv=   yes
+_BLTN_REPLACE.iconv=   yes
 .      endif
 .    endif
-MAKEVARS+=     _BLNK_REPLACE.iconv
-.    if !empty(_BLNK_REPLACE.iconv:M[yY][eE][sS])
+MAKEVARS+=     _BLTN_REPLACE.iconv
+.    if !empty(_BLTN_REPLACE.iconv:M[yY][eE][sS])
 USE_BUILTIN.iconv=     yes
 .    endif
 #
@@ -145,16 +145,16 @@
 .if !empty(CHECK_BUILTIN.iconv:M[nN][oO])
 
 .  if !empty(USE_BUILTIN.iconv:M[nN][oO])
-_BLNK_LIBICONV=                -liconv
+_BLTN_LIBICONV=                -liconv
 .  else
 .    if !empty(BUILTIN_LIB_FOUND.iconv:M[yY][eE][sS])
-_BLNK_LIBICONV=                -liconv
+_BLTN_LIBICONV=                -liconv
 .    else
-_BLNK_LIBICONV=                # empty
+_BLTN_LIBICONV=                # empty
 BUILDLINK_TRANSFORM+=  rm:-liconv
 .    endif
 .  endif
-BUILDLINK_LDADD.iconv?=        ${_BLNK_LIBICONV}
+BUILDLINK_LDADD.iconv?=        ${_BLTN_LIBICONV}
 
 .  if defined(GNU_CONFIGURE)
 .    if !empty(USE_BUILTIN.iconv:M[nN][oO])
diff -r e3f603b31081 -r 995be6ee3398 devel/gettext-lib/builtin.mk
--- a/devel/gettext-lib/builtin.mk      Sun Jun 05 06:14:17 2005 +0000
+++ b/devel/gettext-lib/builtin.mk      Sun Jun 05 09:25:37 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.24 2005/06/01 21:07:59 jlam Exp $
+# $NetBSD: builtin.mk,v 1.25 2005/06/05 09:25:37 jlam Exp $
 
 BUILTIN_PKG:=  gettext
 
@@ -59,15 +59,15 @@
 .        endif
 .      endfor
 .    endif
-.    if !defined(_BLNK_REPLACE.gettext)
-_BLNK_REPLACE.gettext= no
+.    if !defined(_BLTN_REPLACE.gettext)
+_BLTN_REPLACE.gettext= no
 # XXX
 # XXX By default, assume that the native gettext implementation is good
 # XXX enough to replace GNU gettext if it is part of glibc (the GNU C
 # XXX Library).
 # XXX
 .      if exists(${_BLTN_H_GETTEXT})
-_BLNK_REPLACE.gettext!=                                                        \
+_BLTN_REPLACE.gettext!=                                                        \
        if ${GREP} -q "This file is part of the GNU C Library" ${_BLTN_H_GETTEXT:Q}; then \
                ${ECHO} yes;                                            \
        else                                                            \
@@ -75,8 +75,8 @@
        fi
 .      endif
 .    endif
-MAKEVARS+=     _BLNK_REPLACE.gettext
-.    if !empty(_BLNK_REPLACE.gettext:M[yY][eE][sS])
+MAKEVARS+=     _BLTN_REPLACE.gettext
+.    if !empty(_BLTN_REPLACE.gettext:M[yY][eE][sS])
 USE_BUILTIN.gettext=   yes
 .    endif
 # XXX
@@ -121,9 +121,9 @@
 ######################################################################
 .  if !empty(USE_BUILTIN.gettext:M[yY][eE][sS])
 .    if ${BUILTIN_LIB_FOUND.intl} == "yes"
-_BLNK_LIBINTL=         -lintl
+_BLTN_LIBINTL=         -lintl
 .    else
-_BLNK_LIBINTL=         # empty
+_BLTN_LIBINTL=         # empty
 BUILDLINK_TRANSFORM+=  rm:-lintl
 .    endif
 .  endif
@@ -132,23 +132,23 @@
 # If we are using pkgsrc gettext implementation...
 ######################################################################
 .  if !empty(USE_BUILTIN.gettext:M[nN][oO])
-_BLNK_LIBINTL=         -lintl
+_BLTN_LIBINTL=         -lintl
 #
 # Determine if we need to include the libiconv buildlink3.mk file.
 # Since we're using the pkgsrc gettext, the only time we don't need
 # iconv is if an already-installed gettext-lib package satisfied all
 # of the gettext dependencies but is <0.11.5nb1.
 #
-_BLNK_GETTEXT_ICONV_DEPENDS=   gettext-lib>=0.11.5nb1
-.    if !defined(_BLNK_GETTEXT_NEEDS_ICONV)
-_BLNK_GETTEXT_NEEDS_ICONV?=    no
+_BLTN_GETTEXT_ICONV_DEPENDS=   gettext-lib>=0.11.5nb1
+.    if !defined(_BLTN_GETTEXT_NEEDS_ICONV)
+_BLTN_GETTEXT_NEEDS_ICONV?=    no
 .      for _dep_ in ${BUILDLINK_DEPENDS.gettext}
-.        if !empty(_BLNK_GETTEXT_NEEDS_ICONV:M[nN][oO])
-_BLNK_GETTEXT_NEEDS_ICONV!=                                            \
+.        if !empty(_BLTN_GETTEXT_NEEDS_ICONV:M[nN][oO])
+_BLTN_GETTEXT_NEEDS_ICONV!=                                            \
        pkg=`${PKG_BEST_EXISTS} ${_dep_:Q}`;                            \
        if ${TEST} -z "$$pkg"; then                                     \
                ${ECHO} yes;                                            \
-       elif ${PKG_ADMIN} pmatch ${_BLNK_GETTEXT_ICONV_DEPENDS:Q} "$$pkg"; then \
+       elif ${PKG_ADMIN} pmatch ${_BLTN_GETTEXT_ICONV_DEPENDS:Q} "$$pkg"; then \
                ${ECHO} yes;                                            \
        else                                                            \
                ${ECHO} no;                                             \
@@ -156,20 +156,20 @@
 .        endif
 .      endfor
 .    endif
-MAKEVARS+=     _BLNK_GETTEXT_NEEDS_ICONV
+MAKEVARS+=     _BLTN_GETTEXT_NEEDS_ICONV
 
-.    if !empty(_BLNK_GETTEXT_NEEDS_ICONV:M[yY][eE][sS])
+.    if !empty(_BLTN_GETTEXT_NEEDS_ICONV:M[yY][eE][sS])
 .      for _mkfile_ in buildlink3.mk builtin.mk
 BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
 .        sinclude "../../converters/libiconv/${_mkfile_}"
 BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH:S/+$//}
 .      endfor
-BUILDLINK_DEPENDS.gettext+=    ${_BLNK_GETTEXT_ICONV_DEPENDS}
-_BLNK_LIBINTL+=                        ${BUILDLINK_LDADD.iconv}
+BUILDLINK_DEPENDS.gettext+=    ${_BLTN_GETTEXT_ICONV_DEPENDS}
+_BLTN_LIBINTL+=                        ${BUILDLINK_LDADD.iconv}
 .    endif
 .  endif
 
-BUILDLINK_LDADD.gettext?=      ${_BLNK_LIBINTL}
+BUILDLINK_LDADD.gettext?=      ${_BLTN_LIBINTL}
 
 # Some GNU configure scripts generated with an older and broken gettext.m4
 # fail to detect if gettext is present or not because it fails to add
diff -r e3f603b31081 -r 995be6ee3398 devel/libgetopt/builtin.mk
--- a/devel/libgetopt/builtin.mk        Sun Jun 05 06:14:17 2005 +0000
+++ b/devel/libgetopt/builtin.mk        Sun Jun 05 09:25:37 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.3 2005/06/01 18:02:44 jlam Exp $
+# $NetBSD: builtin.mk,v 1.4 2005/06/05 09:25:37 jlam Exp $
 
 BUILTIN_PKG:=  getopt
 
@@ -55,11 +55,11 @@
 .if !empty(CHECK_BUILTIN.getopt:M[nN][oO])
 
 .  if !empty(USE_BUILTIN.getopt:M[nN][oO])
-_BLNK_LIBGETOPT=       -lgetopt
+_BLTN_LIBGETOPT=       -lgetopt
 .  else
-_BLNK_LIBGETOPT=       # empty
+_BLTN_LIBGETOPT=       # empty
 .  endif
-BUILDLINK_LDADD.getopt?=       ${_BLNK_LIBGETOPT}
+BUILDLINK_LDADD.getopt?=       ${_BLTN_LIBGETOPT}
 
 CONFIGURE_ENV+=                LIBGETOPT=${BUILDLINK_LDADD.getopt:Q}
 MAKE_ENV+=             LIBGETOPT=${BUILDLINK_LDADD.getopt:Q}



Home | Main Index | Thread Index | Old Index