Date: Mon, 3 Nov 2014 10:42:12 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r372105 - head/benchmarks/lmbench Message-ID: <201411031042.sA3AgCoW023166@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Mon Nov 3 10:42:12 2014 New Revision: 372105 URL: https://svnweb.freebsd.org/changeset/ports/372105 QAT: https://qat.redports.org/buildarchive/r372105/ Log: 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. Modified: head/benchmarks/lmbench/Makefile Modified: head/benchmarks/lmbench/Makefile ============================================================================== --- head/benchmarks/lmbench/Makefile Mon Nov 3 10:10:32 2014 (r372104) +++ head/benchmarks/lmbench/Makefile Mon Nov 3 10:42:12 2014 (r372105) @@ -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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411031042.sA3AgCoW023166>