pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/tools Define "TOOLS_PLATFORM.flex" to "/usr/bin/fle...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/357613d9b418
branches:  trunk
changeset: 535714:357613d9b418
user:      tron <tron%pkgsrc.org@localhost>
date:      Mon Nov 26 16:19:08 2007 +0000

description:
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:

 mk/tools/tools.Darwin.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 0fe6d2381d9f -r 357613d9b418 mk/tools/tools.Darwin.mk
--- a/mk/tools/tools.Darwin.mk  Mon Nov 26 15:59:35 2007 +0000
+++ b/mk/tools/tools.Darwin.mk  Mon Nov 26 16:19:08 2007 +0000
@@ -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.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



Home | Main Index | Thread Index | Old Index