From cf9c48f8776fdf832f56428597ea6af5d3fb1ad0 Mon Sep 17 00:00:00 2001 From: dmcmahill Date: Tue, 1 Feb 2000 17:40:24 +0000 Subject: fix handling of OS_VERSION when an underscore is included (like 1.4.2_ALPHA) --- benchmarks/hbench/files/patch-sum | 3 ++- benchmarks/hbench/patches/patch-ak | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 benchmarks/hbench/patches/patch-ak (limited to 'benchmarks') diff --git a/benchmarks/hbench/files/patch-sum b/benchmarks/hbench/files/patch-sum index d2f6d8f4746..e1acd0d13a2 100644 --- a/benchmarks/hbench/files/patch-sum +++ b/benchmarks/hbench/files/patch-sum @@ -1,4 +1,4 @@ -$NetBSD: patch-sum,v 1.4 1999/11/22 15:02:56 rh Exp $ +$NetBSD: patch-sum,v 1.5 2000/02/01 17:40:25 dmcmahill Exp $ MD5 (patch-aa) = 6eb1137306628e30e2740959334dc8fa MD5 (patch-ab) = f05c034b1426a25bc4915280287966fa @@ -10,3 +10,4 @@ MD5 (patch-ag) = 11c5b7f4998c91bd357db562e2c090c4 MD5 (patch-ah) = 38948e5c29d4898c42a56849e12602bf MD5 (patch-ai) = ae782e00813727b54f45afbe23fa962f MD5 (patch-aj) = e145ccb7de3b093db3ec0676891578d5 +MD5 (patch-ak) = 24b44da87e8486f09fb3851e1f1227d5 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:*:*) -- cgit v1.2.3