diff options
author | dmcmahill <dmcmahill> | 2000-02-01 17:40:24 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2000-02-01 17:40:24 +0000 |
commit | 5983ea4ec40940212f56ab3d95df617cda068ce8 (patch) | |
tree | 5e2c8fc43ec298bb7d00583c2ebb6a0327bb7181 /benchmarks/hbench/patches | |
parent | a8f92cbd6b3c09cb9b8aef5f6bc551e75c36278d (diff) | |
download | pkgsrc-5983ea4ec40940212f56ab3d95df617cda068ce8.tar.gz |
fix handling of OS_VERSION when an underscore is included (like 1.4.2_ALPHA)
Diffstat (limited to 'benchmarks/hbench/patches')
-rw-r--r-- | benchmarks/hbench/patches/patch-ak | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/benchmarks/hbench/patches/patch-ak b/benchmarks/hbench/patches/patch-ak new file mode 100644 index 00000000000..82f051fc698 --- /dev/null +++ b/benchmarks/hbench/patches/patch-ak @@ -0,0 +1,14 @@ +$NetBSD: patch-ak,v 1.1 2000/02/01 17:40:24 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. + +--- 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 @@ + 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/[-].*/\./'` + exit 0 ;; + *:OpenBSD:*:*) |