diff options
Diffstat (limited to 'mk')
-rw-r--r-- | mk/platform/Darwin.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mk/platform/Darwin.mk b/mk/platform/Darwin.mk index ad354b8d47d..9b17a792b47 100644 --- a/mk/platform/Darwin.mk +++ b/mk/platform/Darwin.mk @@ -1,4 +1,4 @@ -# $NetBSD: Darwin.mk,v 1.34 2008/12/16 08:11:29 tron Exp $ +# $NetBSD: Darwin.mk,v 1.35 2009/04/24 11:54:14 tron Exp $ # # Variable definitions for the Darwin operating system. @@ -34,6 +34,12 @@ IMAKEOPTS+= -DBuildHtmlManPages=NO IMAKEOPTS+= -DInstallFlags=-c # do not set user or group .endif +# Use "/bin/ksh" under Mac OS X Leopard and newer because it is +# considerably faster that "/bin/sh" (BASH). +.if empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*) +SH?= /bin/ksh +.endif + .if !defined(PKGSRC_COMPILER) || !empty(PKGSRC_COMPILER:Mgcc) # Use the GNU cpp, not the OS X cpp, don't look in "/usr/local/include" # before "/usr/include". |