Module Name: src Committed By: christos Date: Fri Jan 6 17:13:22 UTC 2017
Modified Files: src/external/bsd/flex: Makefile.inc Log Message: don't use sed for the tools version because during objdir etc runs we don't have ${TOOL_SED} yet available. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 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.4 src/external/bsd/flex/Makefile.inc:1.5 --- src/external/bsd/flex/Makefile.inc:1.4 Mon Jan 2 12:45:26 2017 +++ src/external/bsd/flex/Makefile.inc Fri Jan 6 12:13:22 2017 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.4 2017/01/02 17:45:26 christos Exp $ +# $NetBSD: Makefile.inc,v 1.5 2017/01/06 17:13:22 christos Exp $ WARNS?= 1 @@ -7,8 +7,12 @@ WARNS?= 1 BINDIR?= /usr/bin IDIST= ${NETBSDSRCDIR}/external/bsd/flex/dist/src +.if defined(HOSTPROGNAME) +VERSION = 3.x +.else VERSION != ${TOOL_SED} -ne "s/PACKAGE_VERSION='\(.*\)'/\1/p" \ ${IDIST}/../configure +.endif CPPFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR}/../include -I${IDIST} \ -DLOCALEDIR=\"/usr/share/locale\"