summaryrefslogtreecommitdiff
path: root/mk/platform
diff options
context:
space:
mode:
authortron <tron>2009-05-06 10:28:01 +0000
committertron <tron>2009-05-06 10:28:01 +0000
commitf3b61991b19b48fbf2ae9b0f77d40692fa027118 (patch)
treee45bf39ac14129e5bf2b0be6a7d5f68c0bf540fd /mk/platform
parent716a735897d102ef9282df2759dc6a45569e429b (diff)
downloadpkgsrc-f3b61991b19b48fbf2ae9b0f77d40692fa027118.tar.gz
Allow to set the "bourne" shell used for buildlink3 wrappers per platform.
Set it to "/bin/ksh" under Mac OS X which should reduce package build times by more than 20%.
Diffstat (limited to 'mk/platform')
-rw-r--r--mk/platform/Darwin.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/platform/Darwin.mk b/mk/platform/Darwin.mk
index 45d2af71226..bc2b9f480c6 100644
--- a/mk/platform/Darwin.mk
+++ b/mk/platform/Darwin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: Darwin.mk,v 1.36 2009/04/27 12:03:36 tron Exp $
+# $NetBSD: Darwin.mk,v 1.37 2009/05/06 10:28:01 tron Exp $
#
# Variable definitions for the Darwin operating system.
@@ -112,6 +112,11 @@ CONFIGURE_ENV+= ac_cv_func_poll=no
. endif
.endif
+# Use "/bin/ksh" for buildlink3 wrapper script to improve build performance.
+.if exists(/bin/ksh)
+WRAPPER_BIN_SH?= /bin/ksh
+.endif
+
# If games are to be installed setgid, then SETGIDGAME is set to 'yes'
# (it defaults to 'no' as per defaults/mk.conf).
# Set the group and mode to meaningful values in that case (defaults to