summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2007-11-26 16:19:08 +0000
committertron <tron@pkgsrc.org>2007-11-26 16:19:08 +0000
commit6c4116710424005c1fea8b814dd03530cdd3c1c2 (patch)
tree23f4109d6e64842c450b68020402fa3ef631b5c8 /mk
parentf2b01f98ecb5c9771d0d7d3c7fdb004b66f6e5ad (diff)
downloadpkgsrc-6c4116710424005c1fea8b814dd03530cdd3c1c2.tar.gz
Define "TOOLS_PLATFORM.flex" to "/usr/bin/flex" not "/usr/bin/lex".
The later is shell script which tries to execute "<current-dir>/flex" under Mac OS X Leopard. This resulted in an endless loop caused by the buildlink wrappers. This is backward compatible with at least Mac OS X Tiger where "/usr/bin/lex" and "/usr/bin/flex" are identical.
Diffstat (limited to 'mk')
-rw-r--r--mk/tools/tools.Darwin.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/tools/tools.Darwin.mk b/mk/tools/tools.Darwin.mk
index 2b1d4d4f24f..39bcd462c39 100644
--- a/mk/tools/tools.Darwin.mk
+++ b/mk/tools/tools.Darwin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: tools.Darwin.mk,v 1.35 2007/11/22 16:39:47 tron Exp $
+# $NetBSD: tools.Darwin.mk,v 1.36 2007/11/26 16:19:08 tron Exp $
#
# System-supplied tools for the Darwin (Mac OS X) operating system.
@@ -35,7 +35,7 @@ TOOLS_PLATFORM.false?= false # shell builtin
TOOLS_PLATFORM.fgrep?= /usr/bin/fgrep
TOOLS_PLATFORM.file?= /usr/bin/file
TOOLS_PLATFORM.find?= /usr/bin/find
-TOOLS_PLATFORM.flex?= /usr/bin/lex
+TOOLS_PLATFORM.flex?= /usr/bin/flex
TOOLS_PLATFORM.gmake?= /usr/bin/gnumake
TOOLS_PLATFORM.gm4?= /usr/bin/gm4
TOOLS_PLATFORM.grep?= /usr/bin/grep