summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortron <tron>2009-07-11 10:32:41 +0000
committertron <tron>2009-07-11 10:32:41 +0000
commit8500186b41a8f2064d2f40dfdc00c92b6d223ef9 (patch)
tree6234227c6cea7e92b0022b361a79aba7dc8f35ae /mk
parent9eb4833bc23c06adda10342587c2cefc382fc1f0 (diff)
downloadpkgsrc-8500186b41a8f2064d2f40dfdc00c92b6d223ef9.tar.gz
Don't use "/bin/ksh" to run wrappe scripts under Mac OS X before Leopard.
This should fix build problems reported by Christoph Egger.
Diffstat (limited to 'mk')
-rw-r--r--mk/platform/Darwin.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/platform/Darwin.mk b/mk/platform/Darwin.mk
index 080eb72bad4..9c0ad00ae89 100644
--- a/mk/platform/Darwin.mk
+++ b/mk/platform/Darwin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: Darwin.mk,v 1.38 2009/06/07 11:34:27 schwarz Exp $
+# $NetBSD: Darwin.mk,v 1.39 2009/07/11 10:32:41 tron Exp $
#
# Variable definitions for the Darwin operating system.
@@ -117,7 +117,7 @@ CONFIGURE_ENV+= ac_cv_func_poll=no
.endif
# Use "/bin/ksh" for buildlink3 wrapper script to improve build performance.
-.if exists(/bin/ksh)
+.if empty(OS_VERSION:M[0-8].*) && exists(/bin/ksh)
WRAPPER_BIN_SH?= /bin/ksh
.endif