diff options
author | tron <tron@pkgsrc.org> | 2009-05-06 10:28:01 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2009-05-06 10:28:01 +0000 |
commit | f45df5c296423e9b4a28224f717a944876fef405 (patch) | |
tree | e45bf39ac14129e5bf2b0be6a7d5f68c0bf540fd /mk/platform | |
parent | 026f785d9bfad5c18529f5242bb028ab46836cfc (diff) | |
download | pkgsrc-f45df5c296423e9b4a28224f717a944876fef405.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.mk | 7 |
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 |