Module Name:    src
Committed By:   joerg
Date:           Sat Oct 31 23:36:29 UTC 2009

Modified Files:
        src/external/bsd/flex/bin: Makefile

Log Message:
Do not depend on the existance of /usr/lib/libm.a for the host tool case.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/flex/bin/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/flex/bin/Makefile
diff -u src/external/bsd/flex/bin/Makefile:1.5 src/external/bsd/flex/bin/Makefile:1.6
--- src/external/bsd/flex/bin/Makefile:1.5	Thu Oct 29 17:17:33 2009
+++ src/external/bsd/flex/bin/Makefile	Sat Oct 31 23:36:29 2009
@@ -1,5 +1,5 @@
 #	from: @(#)Makefile	5.4 (Berkeley) 6/24/90
-#	$NetBSD: Makefile,v 1.5 2009/10/29 17:17:33 christos Exp $
+#	$NetBSD: Makefile,v 1.6 2009/10/31 23:36:29 joerg Exp $
 #
 # By default, flex will be configured to generate 8-bit scanners only if the
 # -8 flag is given.  If you want it to always generate 8-bit scanners, add
@@ -42,7 +42,9 @@
 INCS	=FlexLexer.h
 INCSDIR=/usr/include/g++
 LDADD+=-lm
+.ifndef HOSTPROG
 DPADD+=${LIBM}
+.endif
 
 MAN = flex.1
 

Reply via email to