diff options
author | sbd <sbd> | 2012-07-01 10:18:58 +0000 |
---|---|---|
committer | sbd <sbd> | 2012-07-01 10:18:58 +0000 |
commit | ada81e23d43bafb85b8c0dd3642068a717c895cd (patch) | |
tree | bed462cd00b90579cae3b00b6bb046a7808f31fd /benchmarks | |
parent | 9d75287ae305403e7a8d2afeed17029cecf85cfd (diff) | |
download | pkgsrc-ada81e23d43bafb85b8c0dd3642068a717c895cd.tar.gz |
Improve the sed command used in GET_OS_CMD to work with '*-*-linux-gnu'
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/hbench/Makefile | 4 |
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" |