Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/flex don't use sed for the tools version becaus...
details: https://anonhg.NetBSD.org/src/rev/b72cf1462711
branches: trunk
changeset: 350159:b72cf1462711
user: christos <christos%NetBSD.org@localhost>
date: Fri Jan 06 17:13:22 2017 +0000
description:
don't use sed for the tools version because during objdir etc runs we don't
have ${TOOL_SED} yet available.
diffstat:
external/bsd/flex/Makefile.inc | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 4f82c300ed41 -r b72cf1462711 external/bsd/flex/Makefile.inc
--- a/external/bsd/flex/Makefile.inc Fri Jan 06 14:55:37 2017 +0000
+++ b/external/bsd/flex/Makefile.inc Fri Jan 06 17:13:22 2017 +0000
@@ -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 @@
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\"
Home |
Main Index |
Thread Index |
Old Index