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.
This commit is contained in:
parent
23064d84ac
commit
52e83386e9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372105
1 changed files with 2 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue