Source-Changes-HG archive

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

[src/netbsd-2-0]: src/share/mk Pull up revision 1.421 (requested by jmc in ti...



details:   https://anonhg.NetBSD.org/src/rev/1edd96b40128
branches:  netbsd-2-0
changeset: 561373:1edd96b40128
user:      tron <tron%NetBSD.org@localhost>
date:      Mon Jun 14 18:05:53 2004 +0000

description:
Pull up revision 1.421 (requested by jmc in ticket #472):
Clean up HOST_OSTYPE a bit more and turn any spaces into _'s as well as
stripping paren'd values from HOST_ARCH. Fixes PR#25586 for uname -p output
on linux hosts which return multi-word values

diffstat:

 share/mk/bsd.own.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9280dd3ffb5d -r 1edd96b40128 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Mon Jun 14 18:01:09 2004 +0000
+++ b/share/mk/bsd.own.mk       Mon Jun 14 18:05:53 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.413 2004/03/08 06:30:33 jmc Exp $
+#      $NetBSD: bsd.own.mk,v 1.413.2.1 2004/06/14 18:05:53 tron Exp $
 
 .if !defined(_BSD_OWN_MK_)
 _BSD_OWN_MK_=1
@@ -116,7 +116,7 @@
 _HOST_OSNAME!= uname -s
 _HOST_OSREL!=  uname -r
 _HOST_ARCH!=   uname -p 2>/dev/null || uname -m
-HOST_OSTYPE:=  ${_HOST_OSNAME}-${_HOST_OSREL:C/\([^\)]*\)//}-${_HOST_ARCH}
+HOST_OSTYPE:=  ${_HOST_OSNAME}-${_HOST_OSREL:C/\([^\)]*\)//g:[*]:C/ /_/g}-${_HOST_ARCH:C/\([^\)]*\)//g:[*]:C/ /_/g}
 .MAKEOVERRIDES+= HOST_OSTYPE
 .endif
 HOST_CYGWIN=   ${HOST_OSTYPE:MCYGWIN*}



Home | Main Index | Thread Index | Old Index