From owner-svn-ports-head@FreeBSD.ORG Mon Nov 3 10:42:12 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D62DD8DD; Mon, 3 Nov 2014 10:42:12 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C2076C4F; Mon, 3 Nov 2014 10:42:12 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sA3AgCim023167; Mon, 3 Nov 2014 10:42:12 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sA3AgCoW023166; Mon, 3 Nov 2014 10:42:12 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201411031042.sA3AgCoW023166@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Mon, 3 Nov 2014 10:42:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r372105 - head/benchmarks/lmbench X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2014 10:42:12 -0000 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)