summaryrefslogtreecommitdiff
path: root/mk/defaults/mk.conf
diff options
context:
space:
mode:
authorjperkin <jperkin>2016-10-27 10:31:05 +0000
committerjperkin <jperkin>2016-10-27 10:31:05 +0000
commit0e47f1ddf56c79a62d1e6f524c1ffbd2a9039da4 (patch)
treee50cd183698928a16884887c83a46b3584f8bf63 /mk/defaults/mk.conf
parent34650b37d26f6800081c22f66aea5235a96e284d (diff)
downloadpkgsrc-0e47f1ddf56c79a62d1e6f524c1ffbd2a9039da4.tar.gz
Add support for enabling cwrappers automatically. USE_CWRAPPERS now defaults
to "auto", which will enable cwrappers if the _OPSYS_SUPPORTS_CWRAPPERS platform variable is set to "yes". Switch over to cwrappers by default for Darwin, Linux, and SunOS (except when using the sunpro compiler).
Diffstat (limited to 'mk/defaults/mk.conf')
-rw-r--r--mk/defaults/mk.conf16
1 files changed, 10 insertions, 6 deletions
diff --git a/mk/defaults/mk.conf b/mk/defaults/mk.conf
index 49c9d58e32d..88fa89336ee 100644
--- a/mk/defaults/mk.conf
+++ b/mk/defaults/mk.conf
@@ -1,4 +1,4 @@
-# $NetBSD: mk.conf,v 1.266 2016/09/18 22:17:55 agc Exp $
+# $NetBSD: mk.conf,v 1.267 2016/10/27 10:31:05 jperkin Exp $
#
# This file provides default values for variables that may be overridden
@@ -12,11 +12,15 @@
# NOTE TO PEOPLE EDITING THIS FILE - USE LEADING SPACES, NOT LEADING TABS.
# ************************************************************************
-USE_CWRAPPERS?= no
-# build packages using the newer pkgtools/cwrappers infrastructure.
-# WARNING: Experimental!
-# Possible: yes, no
-# Default: no
+USE_CWRAPPERS?= auto
+# Build packages using the newer pkgtools/cwrappers infrastructure, which can
+# significantly speed up builds and use fewer resources. Some compiler and
+# platform combinations are not currently handled by cwrappers, so currently
+# the default is "auto" which enables cwrappers automatically if the platform
+# _OPSYS_SUPPORTS_CWRAPPERS variable is set to "yes".
+#
+# Possible: yes, no, auto
+# Default: auto (automatic detection, see above)
#ALLOW_VULNERABLE_PACKAGES=
# allow the user to build packages which are known to be vulnerable to