Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/flex get the right version even for the tools b...



details:   https://anonhg.NetBSD.org/src/rev/2fa4e5b7b330
branches:  trunk
changeset: 820304:2fa4e5b7b330
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jan 06 17:26:41 2017 +0000

description:
get the right version even for the tools build.

diffstat:

 external/bsd/flex/Makefile.inc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 367dde187363 -r 2fa4e5b7b330 external/bsd/flex/Makefile.inc
--- a/external/bsd/flex/Makefile.inc    Fri Jan 06 17:25:32 2017 +0000
+++ b/external/bsd/flex/Makefile.inc    Fri Jan 06 17:26:41 2017 +0000
@@ -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 @@
 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" \



Home | Main Index | Thread Index | Old Index