pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/platform Set "SH" to "/bin/ksh" under Mac OS X Leop...
details: https://anonhg.NetBSD.org/pkgsrc/rev/aafd2c7db67a
branches: trunk
changeset: 392046:aafd2c7db67a
user: tron <tron%pkgsrc.org@localhost>
date: Fri Apr 24 11:54:14 2009 +0000
description:
Set "SH" to "/bin/ksh" under Mac OS X Leopard:
- "libtool" will use "ksh" if it gets rebuilt after this change.
- Buildlink wrappers will now use "ksh".
- Configure script will be executed using "ksh".
This improves build performance by more than 30%.
Change discussed on "tech-pkg" mailing list.
diffstat:
mk/platform/Darwin.mk | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 90bf521079a6 -r aafd2c7db67a mk/platform/Darwin.mk
--- a/mk/platform/Darwin.mk Fri Apr 24 11:21:16 2009 +0000
+++ b/mk/platform/Darwin.mk Fri Apr 24 11:54:14 2009 +0000
@@ -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+= -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".
Home |
Main Index |
Thread Index |
Old Index