diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-12 02:35:06 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-12 02:35:06 +0000 |
commit | d2b62c66fbc6fa5d43546377699557ae9780a930 (patch) | |
tree | abedabb5e0a307cd66dc653a926873635736358e /mk | |
parent | 8d7a59f64baaca76cd5a0b7d879528cc17e128f4 (diff) | |
download | pkgsrc-d2b62c66fbc6fa5d43546377699557ae9780a930.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')
-rw-r--r-- | mk/bsd.pkg.defaults.mk | 17 |
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 |