diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2000-05-09 14:24:38 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2000-05-09 14:24:38 +0000 |
commit | 2e00fedc284bdac1bf5b726dbfa08247dfb64c4d (patch) | |
tree | 0212072b2ff70c2d3127f87eaea220853f066970 /benchmarks/hbench/patches | |
parent | f24e1227c98affb56a693c52175492cc4bbbc922 (diff) | |
download | pkgsrc-2e00fedc284bdac1bf5b726dbfa08247dfb64c4d.tar.gz |
fixes for mips machines. Use 'uname -p' instead of 'uname -m'.
This fixes PR 7573 reported by Simon Burge and redundant PR 9950
reported by me (oops).
Diffstat (limited to 'benchmarks/hbench/patches')
-rw-r--r-- | benchmarks/hbench/patches/patch-ak | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/benchmarks/hbench/patches/patch-ak b/benchmarks/hbench/patches/patch-ak index 82f051fc698..d67922545ec 100644 --- a/benchmarks/hbench/patches/patch-ak +++ b/benchmarks/hbench/patches/patch-ak @@ -1,14 +1,22 @@ -$NetBSD: patch-ak,v 1.1 2000/02/01 17:40:24 dmcmahill Exp $ +$NetBSD: patch-ak,v 1.2 2000/05/09 14:24:39 dmcmahill Exp $ the original version would take things like "1.4.2_ALPHA" and change it to "1.4.2." This messes up paths when ${OS_VERSION} is used in PLIST's and install scripts. +Also, we want output like 'mipsel-unknown-netbsd1.4.1' not 'pmax-unknown-netbsd1.4.1' + --- scripts/config.guess.orig Thu Jun 26 20:31:08 1997 -+++ scripts/config.guess Tue Feb 1 12:28:06 2000 -@@ -386,5 +386,5 @@ ++++ scripts/config.guess Tue May 9 10:13:07 2000 +@@ -42,4 +42,5 @@ + fi + ++UNAME_PROCESSOR=`(uname -p) 2>/dev/null` || UNAME_PROCESSOR=unknown + UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown + UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown +@@ -386,5 +387,5 @@ exit 0 ;; *:NetBSD:*:*) - echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` -+ echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-].*/\./'` ++ echo ${UNAME_PROCESSOR}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-].*/\./'` exit 0 ;; *:OpenBSD:*:*) |