Module Name:    src
Committed By:   christos
Date:           Fri Jan  6 17:26:41 UTC 2017

Modified Files:
        src/external/bsd/flex: Makefile.inc

Log Message:
get the right version even for the tools build.


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

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/Makefile.inc
diff -u src/external/bsd/flex/Makefile.inc:1.5 src/external/bsd/flex/Makefile.inc:1.6
--- src/external/bsd/flex/Makefile.inc:1.5	Fri Jan  6 12:13:22 2017
+++ src/external/bsd/flex/Makefile.inc	Fri Jan  6 12:26:41 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.5 2017/01/06 17:13:22 christos Exp $
+#	$NetBSD: Makefile.inc,v 1.6 2017/01/06 17:26:41 christos Exp $
 
 WARNS?=	1
 
@@ -7,7 +7,7 @@ WARNS?=	1
 BINDIR?= /usr/bin
 
 IDIST=	${NETBSDSRCDIR}/external/bsd/flex/dist/src
-.if defined(HOSTPROGNAME)
+.if !empty(TOOL_SED:M*/*) && !exists(${TOOL_SED})
 VERSION = 3.x
 .else
 VERSION != ${TOOL_SED} -ne "s/PACKAGE_VERSION='\(.*\)'/\1/p" \

Reply via email to