Module Name:    src
Committed By:   tsutsui
Date:           Wed Apr 18 11:28:30 UTC 2012

Modified Files:
        src/tools: Makefile.gnuhost

Log Message:
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.38 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.38
--- src/tools/Makefile.gnuhost:1.37	Sat Jan 21 22:31:15 2012
+++ src/tools/Makefile.gnuhost	Wed Apr 18 11:28:30 2012
@@ -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 @@ 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:

Reply via email to