From d1d2f9e56cf3b16d256195124160a4327da32632 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 12 Jan 2006 15:10:29 +0000 Subject: Use canonical config.guess and config.sub scripts instead of patching them. Add DragonFly support. --- benchmarks/hbench/patches/patch-ak | 22 ---------------------- benchmarks/hbench/patches/patch-aq | 13 +++++++++++++ 2 files changed, 13 insertions(+), 22 deletions(-) delete mode 100644 benchmarks/hbench/patches/patch-ak create mode 100644 benchmarks/hbench/patches/patch-aq (limited to 'benchmarks/hbench/patches') diff --git a/benchmarks/hbench/patches/patch-ak b/benchmarks/hbench/patches/patch-ak deleted file mode 100644 index d67922545ec..00000000000 --- a/benchmarks/hbench/patches/patch-ak +++ /dev/null @@ -1,22 +0,0 @@ -$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 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_PROCESSOR}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-].*/\./'` - exit 0 ;; - *:OpenBSD:*:*) diff --git a/benchmarks/hbench/patches/patch-aq b/benchmarks/hbench/patches/patch-aq new file mode 100644 index 00000000000..d75418251a7 --- /dev/null +++ b/benchmarks/hbench/patches/patch-aq @@ -0,0 +1,13 @@ +$NetBSD: patch-aq,v 1.1 2006/01/12 15:10:29 joerg Exp $ + +--- src/Makefile.orig 1997-06-27 14:50:31.000000000 +0000 ++++ src/Makefile +@@ -89,7 +89,7 @@ COMPILE=$(CC) $(CFLAGS) $(CPPFLAGS) $(LD + ##################################### + + # The following don't need special handling. +-freebsd netbsd openbsd sunos linux: ++dragonfly freebsd netbsd openbsd sunos linux: + @$(MAKE) binaries + + bsdi: -- cgit v1.2.3