pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Rename BUILDLINK_PREFER_PKGSRC to PREFER_PKGSRC so tha...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/abe34749a0ea
branches:  trunk
changeset: 467686:abe34749a0ea
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Feb 05 07:06:15 2004 +0000

description:
Rename BUILDLINK_PREFER_PKGSRC to PREFER_PKGSRC so that we can use its
value outside of buildlink-related files.

diffstat:

 archivers/bzip2/buildlink2.mk     |  9 ++++-----
 archivers/bzip2/buildlink3.mk     |  9 ++++-----
 converters/libiconv/buildlink2.mk |  9 ++++-----
 converters/libiconv/buildlink3.mk |  9 ++++-----
 databases/db/buildlink2.mk        |  9 ++++-----
 databases/db/buildlink3.mk        |  9 ++++-----
 devel/binutils/buildlink2.mk      |  9 ++++-----
 devel/binutils/buildlink3.mk      |  9 ++++-----
 devel/cdk/buildlink2.mk           |  9 ++++-----
 devel/gettext-lib/buildlink2.mk   |  9 ++++-----
 devel/gettext-lib/buildlink3.mk   |  9 ++++-----
 devel/libevent/buildlink2.mk      |  9 ++++-----
 devel/ncurses/buildlink2.mk       |  9 ++++-----
 devel/ncurses/buildlink3.mk       |  9 ++++-----
 devel/readline/buildlink2.mk      |  9 ++++-----
 devel/readline/buildlink3.mk      |  9 ++++-----
 devel/zlib/buildlink2.mk          |  9 ++++-----
 devel/zlib/buildlink3.mk          |  9 ++++-----
 graphics/MesaLib/buildlink3.mk    |  9 ++++-----
 graphics/freetype2/buildlink2.mk  |  9 ++++-----
 graphics/freetype2/buildlink3.mk  |  9 ++++-----
 graphics/glu/buildlink3.mk        |  9 ++++-----
 mail/libmilter/buildlink2.mk      |  9 ++++-----
 mk/buildlink3/bsd.buildlink3.mk   |  9 ++++-----
 net/hesiod/buildlink2.mk          |  9 ++++-----
 net/libpcap/buildlink2.mk         |  9 ++++-----
 net/libpcap/buildlink3.mk         |  9 ++++-----
 security/PAM/buildlink2.mk        |  9 ++++-----
 security/PAM/buildlink3.mk        |  9 ++++-----
 security/heimdal/buildlink3.mk    |  9 ++++-----
 security/openssl/buildlink2.mk    |  9 ++++-----
 security/openssl/buildlink3.mk    |  9 ++++-----
 x11/Xrender/buildlink2.mk         |  9 ++++-----
 x11/Xrender/buildlink3.mk         |  9 ++++-----
 34 files changed, 136 insertions(+), 170 deletions(-)

diffs (truncated from 782 to 300 lines):

diff -r e93e0578b229 -r abe34749a0ea archivers/bzip2/buildlink2.mk
--- a/archivers/bzip2/buildlink2.mk     Thu Feb 05 06:58:02 2004 +0000
+++ b/archivers/bzip2/buildlink2.mk     Thu Feb 05 07:06:15 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.7 2004/02/05 06:58:02 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.8 2004/02/05 07:06:15 jlam Exp $
 
 .if !defined(BZIP2_BUILDLINK2_MK)
 BZIP2_BUILDLINK2_MK=   # defined
@@ -37,10 +37,9 @@
 .  endfor
 .endif
 
-.if defined(BUILDLINK_PREFER_PKGSRC)
-.  if empty(BUILDLINK_PREFER_PKGSRC) || \
-      !empty(BUILDLINK_PREFER_PKGSRC:M[yY][eE][sS]) || \
-      !empty(BUILDLINK_PREFER_PKGSRC:Mbzip2)
+.if defined(PREFER_PKGSRC)
+.  if empty(PREFER_PKGSRC) || !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \
+      !empty(PREFER_PKGSRC:Mbzip2)
 _NEED_BZIP2=           YES
 .  endif
 .endif
diff -r e93e0578b229 -r abe34749a0ea archivers/bzip2/buildlink3.mk
--- a/archivers/bzip2/buildlink3.mk     Thu Feb 05 06:58:02 2004 +0000
+++ b/archivers/bzip2/buildlink3.mk     Thu Feb 05 07:06:15 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2004/02/05 06:58:02 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2004/02/05 07:06:15 jlam Exp $
 
 BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
 BZIP2_BUILDLINK3_MK:=  ${BZIP2_BUILDLINK3_MK}+
@@ -26,10 +26,9 @@
 MAKEFLAGS+=    BUILDLINK_IS_BUILTIN.bzip2="${BUILDLINK_IS_BUILTIN.bzip2}"
 .endif
 
-.if defined(BUILDLINK_PREFER_PKGSRC)
-.  if empty(BUILDLINK_PREFER_PKGSRC) || \
-      !empty(BUILDLINK_PREFER_PKGSRC:M[yY][eE][sS]) || \
-      !empty(BUILDLINK_PREFER_PKGSRC:Mbzip2)
+.if defined(PREFER_PKGSRC)
+.  if empty(PREFER_PKGSRC) || !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \
+      !empty(PREFER_PKGSRC:Mbzip2)
 BUILDLINK_USE_BUILTIN.bzip2=   NO
 .  endif
 .endif
diff -r e93e0578b229 -r abe34749a0ea converters/libiconv/buildlink2.mk
--- a/converters/libiconv/buildlink2.mk Thu Feb 05 06:58:02 2004 +0000
+++ b/converters/libiconv/buildlink2.mk Thu Feb 05 07:06:15 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.13 2004/02/05 06:58:02 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.14 2004/02/05 07:06:15 jlam Exp $
 
 .if !defined(ICONV_BUILDLINK2_MK)
 ICONV_BUILDLINK2_MK=   # defined
@@ -33,10 +33,9 @@
 .  endfor
 .endif
 
-.if defined(BUILDLINK_PREFER_PKGSRC)
-.  if empty(BUILDLINK_PREFER_PKGSRC) || \
-      !empty(BUILDLINK_PREFER_PKGSRC:M[yY][eE][sS]) || \
-      !empty(BUILDLINK_PREFER_PKGSRC:Miconv)
+.if defined(PREFER_PKGSRC)
+.  if empty(PREFER_PKGSRC) || !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \
+      !empty(PREFER_PKGSRC:Miconv)
 _NEED_ICONV=           YES
 .  endif
 .endif
diff -r e93e0578b229 -r abe34749a0ea converters/libiconv/buildlink3.mk
--- a/converters/libiconv/buildlink3.mk Thu Feb 05 06:58:02 2004 +0000
+++ b/converters/libiconv/buildlink3.mk Thu Feb 05 07:06:15 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2004/02/05 06:58:02 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2004/02/05 07:06:15 jlam Exp $
 
 BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
 ICONV_BUILDLINK3_MK:=  ${ICONV_BUILDLINK3_MK}+
@@ -20,10 +20,9 @@
 .  endif
 .endif
 
-.if defined(BUILDLINK_PREFER_PKGSRC)
-.  if empty(BUILDLINK_PREFER_PKGSRC) || \
-      !empty(BUILDLINK_PREFER_PKGSRC:M[yY][eE][sS]) || \
-      !empty(BUILDLINK_PREFER_PKGSRC:Miconv)
+.if defined(PREFER_PKGSRC)
+.  if empty(PREFER_PKGSRC) || !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \
+      !empty(PREFER_PKGSRC:Miconv)
 BUILDLINK_USE_BUILTIN.iconv=   NO
 .  endif
 .endif
diff -r e93e0578b229 -r abe34749a0ea databases/db/buildlink2.mk
--- a/databases/db/buildlink2.mk        Thu Feb 05 06:58:02 2004 +0000
+++ b/databases/db/buildlink2.mk        Thu Feb 05 07:06:15 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.10 2004/02/05 06:58:02 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.11 2004/02/05 07:06:15 jlam Exp $
 
 .if !defined(DB_BUILDLINK2_MK)
 DB_BUILDLINK2_MK=      # defined
@@ -35,10 +35,9 @@
 .  endif
 .endif
 
-.if defined(BUILDLINK_PREFER_PKGSRC)
-.  if empty(BUILDLINK_PREFER_PKGSRC) || \
-      !empty(BUILDLINK_PREFER_PKGSRC:M[yY][eE][sS]) || \
-      !empty(BUILDLINK_PREFER_PKGSRC:Mdb)
+.if defined(PREFER_PKGSRC)
+.  if empty(PREFER_PKGSRC) || !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \
+      !empty(PREFER_PKGSRC:Mdb)
 _NEED_DB2=     YES
 .  endif
 .endif
diff -r e93e0578b229 -r abe34749a0ea databases/db/buildlink3.mk
--- a/databases/db/buildlink3.mk        Thu Feb 05 06:58:02 2004 +0000
+++ b/databases/db/buildlink3.mk        Thu Feb 05 07:06:15 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2004/02/05 06:58:02 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2004/02/05 07:06:15 jlam Exp $
 
 BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
 DB2_BUILDLINK3_MK:=    ${DB2_BUILDLINK3_MK}+
@@ -9,10 +9,9 @@
 BUILDLINK_PKGSRCDIR.db?=       ../../databases/db
 .endif # DB2_BUILDLINK3_MK
 
-.if defined(BUILDLINK_PREFER_PKGSRC)
-.  if empty(BUILDLINK_PREFER_PKGSRC) || \
-      !empty(BUILDLINK_PREFER_PKGSRC:M[yY][eE][sS]) || \
-      !empty(BUILDLINK_PREFER_PKGSRC:Mdb)
+.if defined(PREFER_PKGSRC)
+.  if empty(PREFER_PKGSRC) || !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \
+      !empty(PREFER_PKGSRC:Mdb)
 BUILDLINK_USE_BUILTIN.db=      NO
 .  endif
 .endif
diff -r e93e0578b229 -r abe34749a0ea devel/binutils/buildlink2.mk
--- a/devel/binutils/buildlink2.mk      Thu Feb 05 06:58:02 2004 +0000
+++ b/devel/binutils/buildlink2.mk      Thu Feb 05 07:06:15 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.11 2004/02/05 06:58:03 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.12 2004/02/05 07:06:15 jlam Exp $
 
 .if !defined(BINUTILS_BUILDLINK2_MK)
 BINUTILS_BUILDLINK2_MK=        # defined
@@ -31,10 +31,9 @@
 .  endfor
 .endif
 
-.if defined(BUILDLINK_PREFER_PKGSRC)
-.  if empty(BUILDLINK_PREFER_PKGSRC) || \
-      !empty(BUILDLINK_PREFER_PKGSRC:M[yY][eE][sS]) || \
-      !empty(BUILDLINK_PREFER_PKGSRC:Mbinutils)
+.if defined(PREFER_PKGSRC)
+.  if empty(PREFER_PKGSRC) || !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \
+      !empty(PREFER_PKGSRC:Mbinutils)
 _NEED_BINUTILS=                YES
 .  endif
 .endif
diff -r e93e0578b229 -r abe34749a0ea devel/binutils/buildlink3.mk
--- a/devel/binutils/buildlink3.mk      Thu Feb 05 06:58:02 2004 +0000
+++ b/devel/binutils/buildlink3.mk      Thu Feb 05 07:06:15 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2004/02/05 06:58:02 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2004/02/05 07:06:15 jlam Exp $
 
 BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
 BINUTILS_BUILDLINK3_MK:=       ${BINUTILS_BUILDLINK3_MK}+
@@ -18,10 +18,9 @@
 BUILDLINK_IS_BUILTIN.binutils= YES
 .endif
 
-.if defined(BUILDLINK_PREFER_PKGSRC)
-.  if empty(BUILDLINK_PREFER_PKGSRC) || \
-      !empty(BUILDLINK_PREFER_PKGSRC:M[yY][eE][sS]) || \
-      !empty(BUILDLINK_PREFER_PKGSRC:Mbinutils)
+.if defined(PREFER_PKGSRC)
+.  if empty(PREFER_PKGSRC) || !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \
+      !empty(PREFER_PKGSRC:Mbinutils)
 BUILDLINK_USE_BUILTIN.binutils=        NO
 .  endif
 .endif
diff -r e93e0578b229 -r abe34749a0ea devel/cdk/buildlink2.mk
--- a/devel/cdk/buildlink2.mk   Thu Feb 05 06:58:02 2004 +0000
+++ b/devel/cdk/buildlink2.mk   Thu Feb 05 07:06:15 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.6 2004/02/05 06:58:03 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.7 2004/02/05 07:06:16 jlam Exp $
 
 .if !defined(CDK_BUILDLINK2_MK)
 CDK_BUILDLINK2_MK=     # defined
@@ -14,10 +14,9 @@
 _NEED_CDK=             YES
 .endif
 
-.if defined(BUILDLINK_PREFER_PKGSRC)
-.  if empty(BUILDLINK_PREFER_PKGSRC) || \
-      !empty(BUILDLINK_PREFER_PKGSRC:M[yY][eE][sS]) || \
-      !empty(BUILDLINK_PREFER_PKGSRC:Mcdk)
+.if defined(PREFER_PKGSRC)
+.  if empty(PREFER_PKGSRC) || !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \
+      !empty(PREFER_PKGSRC:Mcdk)
 _NEED_CDK=     YES
 .  endif
 .endif
diff -r e93e0578b229 -r abe34749a0ea devel/gettext-lib/buildlink2.mk
--- a/devel/gettext-lib/buildlink2.mk   Thu Feb 05 06:58:02 2004 +0000
+++ b/devel/gettext-lib/buildlink2.mk   Thu Feb 05 07:06:15 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.26 2004/02/05 06:58:03 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.27 2004/02/05 07:06:15 jlam Exp $
 
 .if !defined(GETTEXT_BUILDLINK2_MK)
 GETTEXT_BUILDLINK2_MK= # defined
@@ -46,10 +46,9 @@
 .  endfor
 .endif
 
-.if defined(BUILDLINK_PREFER_PKGSRC)
-.  if empty(BUILDLINK_PREFER_PKGSRC) || \
-      !empty(BUILDLINK_PREFER_PKGSRC:M[yY][eE][sS]) || \
-      !empty(BUILDLINK_PREFER_PKGSRC:Mgettext)
+.if defined(PREFER_PKGSRC)
+.  if empty(PREFER_PKGSRC) || !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \
+      !empty(PREFER_PKGSRC:Mgettext)
 _NEED_GNU_GETTEXT=     YES
 .  endif
 .endif
diff -r e93e0578b229 -r abe34749a0ea devel/gettext-lib/buildlink3.mk
--- a/devel/gettext-lib/buildlink3.mk   Thu Feb 05 06:58:02 2004 +0000
+++ b/devel/gettext-lib/buildlink3.mk   Thu Feb 05 07:06:15 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2004/02/05 06:58:03 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2004/02/05 07:06:15 jlam Exp $
 
 BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
 GETTEXT_BUILDLINK3_MK:=        ${GETTEXT_BUILDLINK3_MK}+
@@ -20,10 +20,9 @@
 .  endif
 .endif
 
-.if defined(BUILDLINK_PREFER_PKGSRC)
-.  if empty(BUILDLINK_PREFER_PKGSRC) || \
-      !empty(BUILDLINK_PREFER_PKGSRC:M[yY][eE][sS]) || \
-      !empty(BUILDLINK_PREFER_PKGSRC:Mgettext)
+.if defined(PREFER_PKGSRC)
+.  if empty(PREFER_PKGSRC) || !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \
+      !empty(PREFER_PKGSRC:Mgettext)
 BUILDLINK_USE_BUILTIN.gettext= NO
 .  endif
 .endif
diff -r e93e0578b229 -r abe34749a0ea devel/libevent/buildlink2.mk
--- a/devel/libevent/buildlink2.mk      Thu Feb 05 06:58:02 2004 +0000
+++ b/devel/libevent/buildlink2.mk      Thu Feb 05 07:06:15 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.3 2004/02/05 06:58:03 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.4 2004/02/05 07:06:16 jlam Exp $
 #
 # This Makefile fragment is included by packages that use libevent.
 #
@@ -14,10 +14,9 @@
 _NEED_LIBEVENT=                YES
 .endif
 
-.if defined(BUILDLINK_PREFER_PKGSRC)
-.  if empty(BUILDLINK_PREFER_PKGSRC) || \
-      !empty(BUILDLINK_PREFER_PKGSRC:M[yY][eE][sS]) || \
-      !empty(BUILDLINK_PREFER_PKGSRC:Mlibevent)
+.if defined(PREFER_PKGSRC)
+.  if empty(PREFER_PKGSRC) || !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \
+      !empty(PREFER_PKGSRC:Mlibevent)
 _NEED_LIBEVENT=        YES
 .  endif
 .endif
diff -r e93e0578b229 -r abe34749a0ea devel/ncurses/buildlink2.mk
--- a/devel/ncurses/buildlink2.mk       Thu Feb 05 06:58:02 2004 +0000
+++ b/devel/ncurses/buildlink2.mk       Thu Feb 05 07:06:15 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.16 2004/02/05 06:58:03 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.17 2004/02/05 07:06:15 jlam Exp $
 #
 # Optionally define:
 #
@@ -50,10 +50,9 @@
 .  endfor
 .endif
 
-.if defined(BUILDLINK_PREFER_PKGSRC)
-.  if empty(BUILDLINK_PREFER_PKGSRC) || \
-      !empty(BUILDLINK_PREFER_PKGSRC:M[yY][eE][sS]) || \
-      !empty(BUILDLINK_PREFER_PKGSRC:Mncurses)
+.if defined(PREFER_PKGSRC)
+.  if empty(PREFER_PKGSRC) || !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \
+      !empty(PREFER_PKGSRC:Mncurses)
 _NEED_NCURSES= YES
 .  endif
 .endif
diff -r e93e0578b229 -r abe34749a0ea devel/ncurses/buildlink3.mk



Home | Main Index | Thread Index | Old Index