summaryrefslogtreecommitdiff
path: root/benchmarks/lmbench/Makefile
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-11-03 10:42:12 +0000
committerJohn Marino <marino@FreeBSD.org>2014-11-03 10:42:12 +0000
commit52e83386e974236071ee3495ddc96b59a0642fd1 (patch)
treedf4ff5523b3526907866ed02c078f17779e335a4 /benchmarks/lmbench/Makefile
parent- Update to 1.588 (diff)
benchmarks/lmbench: Unbreak on all platforms
The PLIST_SUB hack that worked for years stopped working with recent changes to PLIST_SUB handling. We don't need to run a script to figure out where the files are getting installed. We can recreate it from ARCH, OPSYS, and OSREL variables.
Notes
Notes: svn path=/head/; revision=372105
Diffstat (limited to '')
-rw-r--r--benchmarks/lmbench/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/benchmarks/lmbench/Makefile b/benchmarks/lmbench/Makefile
index 9a6835427980..5cd4dd28c2e3 100644
--- a/benchmarks/lmbench/Makefile
+++ b/benchmarks/lmbench/Makefile
@@ -3,7 +3,7 @@
PORTNAME= lmbench
PORTVERSION= 3.0.a9
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= benchmarks
MASTER_SITES= SF/${PORTNAME}/development/${PORTNAME}-3.0-a9 http://thegaul.org/src/
@@ -18,13 +18,7 @@ MAKE_ENV= PATH=${PATH}:${WRKSRC}/scripts
USES= shebangfix perl5 gmake tar:tgz
USE_PERL5= run
SHEBANG_FILES= scripts/getresults
-
-# the bindir for the PLIST is:
-# (note that ./os needs to be run inside the work dir, running it
-# outside will give a different result.)
-#LMBENCH_OS!= cd ${WRKSRC}/scripts && ./os
-#PLIST_SUB= LMBENCH_OS=${LMBENCH_OS}
-PLIST_SUB= "LMBENCH_OS=$$(cd ${WRKSRC}/scripts && ./os)"
+PLIST_SUB= LMBENCH_OS=${ARCH}-${OPSYS:tl}${OSREL}
test: build
@(cd ${WRKSRC}; make results)