summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2008-02-13 23:09:24 +0000
committertron <tron@pkgsrc.org>2008-02-13 23:09:24 +0000
commitf895dbe21c669006770003aac8a2e68e24f2a099 (patch)
tree285e3e213ad9012215714343196cc4eb7a30c93b /mk
parenta6e7aa8e5d8aa3f610910e38310cbcf5af890a15 (diff)
downloadpkgsrc-f895dbe21c669006770003aac8a2e68e24f2a099.tar.gz
Don't use the bundled GNU Make on Mac OS X version older than Leopard.
Some packages (e.g. "openjade") require GNU Make 3.81 which is not included in older versions of Mac OS X.
Diffstat (limited to 'mk')
-rw-r--r--mk/tools/tools.Darwin.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/tools/tools.Darwin.mk b/mk/tools/tools.Darwin.mk
index 39bcd462c39..8a0cac31430 100644
--- a/mk/tools/tools.Darwin.mk
+++ b/mk/tools/tools.Darwin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: tools.Darwin.mk,v 1.36 2007/11/26 16:19:08 tron Exp $
+# $NetBSD: tools.Darwin.mk,v 1.37 2008/02/13 23:09:24 tron Exp $
#
# System-supplied tools for the Darwin (Mac OS X) operating system.
@@ -36,7 +36,9 @@ TOOLS_PLATFORM.fgrep?= /usr/bin/fgrep
TOOLS_PLATFORM.file?= /usr/bin/file
TOOLS_PLATFORM.find?= /usr/bin/find
TOOLS_PLATFORM.flex?= /usr/bin/flex
+.if empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
TOOLS_PLATFORM.gmake?= /usr/bin/gnumake
+.endif
TOOLS_PLATFORM.gm4?= /usr/bin/gm4
TOOLS_PLATFORM.grep?= /usr/bin/grep
TOOLS_PLATFORM.gtar?= /usr/bin/gnutar