summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.defaults.mk
diff options
context:
space:
mode:
authorjlam <jlam>2004-02-12 02:35:06 +0000
committerjlam <jlam>2004-02-12 02:35:06 +0000
commit904fb99528f41da42271c33b5e2c2fb70a5898a8 (patch)
treeabedabb5e0a307cd66dc653a926873635736358e /mk/bsd.pkg.defaults.mk
parent7a53d0f6f6f5347ca16705bd2c05ed41a190a6e0 (diff)
downloadpkgsrc-904fb99528f41da42271c33b5e2c2fb70a5898a8.tar.gz
Create a new variable PREFER_NATIVE that has the opposite semantics
as PREFER_PKGSRC. Preferences are determined by the most specific instance of the package in either PREFER_PKGSRC or PREFER_NATIVE. If a package is specified in neither or in both variables, then PREFER_PKGSRC has precedence over PREFER_NATIVE.
Diffstat (limited to 'mk/bsd.pkg.defaults.mk')
-rw-r--r--mk/bsd.pkg.defaults.mk17
1 files changed, 11 insertions, 6 deletions
diff --git a/mk/bsd.pkg.defaults.mk b/mk/bsd.pkg.defaults.mk
index b50fef00358..e3da7475cbc 100644
--- a/mk/bsd.pkg.defaults.mk
+++ b/mk/bsd.pkg.defaults.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.defaults.mk,v 1.213 2004/02/07 15:21:52 uebayasi Exp $
+# $NetBSD: bsd.pkg.defaults.mk,v 1.214 2004/02/12 02:35:06 jlam Exp $
#
# A file providing defaults for pkgsrc and the packages collection.
@@ -120,13 +120,18 @@ PKGSRC_RUN_TEST?= no
# Default: no
PREFER_PKGSRC?= no
+PREFER_NATIVE?= yes
+#
+# When building packages, whether to prefer the pkgsrc or native
+# versions of software that's also part of the base system. Its value
+# can be either yes/no, or a list of packages as named in the
+# BUILDLINK_PACKAGES line in a package's buildlink[23].mk file.
+# Preferences are determined by the most specific instance of the
+# package in either PREFER_PKGSRC or PREFER_NATIVE. If a package is
+# specified in neither or in both variables, then PREFER_PKGSRC has
+# precedence over PREFER_NATIVE.
#
-# When building packages, whether or not to prefer the pkgsrc versions of
-# software that's also part of the base system. Its value can be either
-# yes/no, or a list of packages as named in the BUILDLINK_PACKAGES line
-# in a package's buildlink[23].mk file.
# Possible: yes, no, or a list of packages
-# Default: no
#WRKOBJDIR= /usr/tmp
# build here instead of in pkgsrc