Module Name: src
Committed By: riz
Date: Wed May 9 15:55:06 UTC 2012
Modified Files:
src/tools [netbsd-6]: Makefile.gnuhost
Log Message:
Pull up following revision(s) (requested by tsutsui in ticket #234):
tools/Makefile.gnuhost: revision 1.38
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.
To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.37.2.1 src/tools/Makefile.gnuhost
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tools/Makefile.gnuhost
diff -u src/tools/Makefile.gnuhost:1.37 src/tools/Makefile.gnuhost:1.37.2.1
--- src/tools/Makefile.gnuhost:1.37 Sat Jan 21 22:31:15 2012
+++ src/tools/Makefile.gnuhost Wed May 9 15:55:06 2012
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.gnuhost,v 1.37 2012/01/21 22:31:15 christos Exp $
+# $NetBSD: Makefile.gnuhost,v 1.37.2.1 2012/05/09 15:55:06 riz Exp $
#
# Rules used when building a GNU host package. Expects MODULE to be set.
#
@@ -97,7 +97,7 @@ MAKE_ARGS+= BISON=true DESTDIR= INSTALL=
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: