summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/hbench/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmarks/hbench/Makefile b/benchmarks/hbench/Makefile
index 89f293cf851..652af80e7f3 100644
--- a/benchmarks/hbench/Makefile
+++ b/benchmarks/hbench/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2012/02/28 15:49:56 hans Exp $
+# $NetBSD: Makefile,v 1.48 2012/07/01 10:18:58 sbd Exp $
DISTNAME= hbench-OS-1.1
PKGNAME= hbench-1.1
@@ -27,7 +27,7 @@ OVERRIDE_GNU_CONFIG_SCRIPTS= yes
MAKE_JOBS_SAFE= no
GET_ARCH_CMD= ${PKGSRCDIR:Q}/mk/gnu-config/config.guess | ${SED} -e 's/-.*-.*$$//'
-GET_OS_CMD= ${PKGSRCDIR:Q}/mk/gnu-config/config.guess | ${SED} -e 's/^.*-.*-//'
+GET_OS_CMD= ${PKGSRCDIR:Q}/mk/gnu-config/config.guess | ${SED} -e 's/^[^-]*-[^-]*-//;s/-.*$$//'
PLIST_SUBST+= PLATFORM=${GET_OS_CMD:sh:Q}-${GET_ARCH_CMD:sh:Q}
.include "../../mk/bsd.prefs.mk"