Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools Replace not only space but also '(' and ')' on generat...
details: https://anonhg.NetBSD.org/src/rev/7469e22e8a59
branches: trunk
changeset: 778877:7469e22e8a59
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Wed Apr 18 11:28:30 2012 +0000
description:
Replace not only space but also '(' and ')' on generating BUILD_PLATFORM
strings to appease shell's echo.
Cygwin's uname -r returns "1.7.9(0.237/5/3)" etc.
diffstat:
tools/Makefile.gnuhost | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 6f726032a0e9 -r 7469e22e8a59 tools/Makefile.gnuhost
--- a/tools/Makefile.gnuhost Wed Apr 18 10:37:37 2012 +0000
+++ b/tools/Makefile.gnuhost Wed Apr 18 11:28:30 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.gnuhost,v 1.37 2012/01/21 22:31:15 christos Exp $
+# $NetBSD: Makefile.gnuhost,v 1.38 2012/04/18 11:28:30 tsutsui Exp $
#
# Rules used when building a GNU host package. Expects MODULE to be set.
#
@@ -97,7 +97,7 @@
ALL_TARGET?= all
INSTALL_TARGET?=install
-BUILD_PLATFORM!= uname -srm | tr ' ' '-'
+BUILD_PLATFORM!= uname -srm | tr ' ()' '-'
CONFIGURE_PLATFORM!= if [ -s .configure_done ]; then cat .configure_done; else echo none; fi
.if "${BUILD_PLATFORM}" != "${CONFIGURE_PLATFORM}"
configure_cleanup:
Home |
Main Index |
Thread Index |
Old Index