From a2b61f5013379f0ac1973ae13b17975e8611ea43 Mon Sep 17 00:00:00 2001 From: Ernst de Haan Date: Wed, 13 Nov 2002 10:44:20 +0000 Subject: [PATCH] Not depending on basename but explicitly using APP_HOME. Bumped PORTREVISION. --- www/jakarta-jmeter/Makefile | 3 ++- www/jakarta-jmeter/files/patch-aa | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/www/jakarta-jmeter/Makefile b/www/jakarta-jmeter/Makefile index 4b13d3129c58..90d352b8e97b 100644 --- a/www/jakarta-jmeter/Makefile +++ b/www/jakarta-jmeter/Makefile @@ -7,7 +7,7 @@ PORTNAME= jmeter PORTVERSION= 1.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www benchmarks java MASTER_SITES= http://jakarta.apache.org/builds/jakarta-jmeter/release/v${PORTVERSION}/ \ http://www.metaverse.nl/~ernst/ \ @@ -35,6 +35,7 @@ post-patch: @${ECHO_CMD} -n ">> Customizing `basename $f`..." @${SED} \ -e "/%%JAVA%%/s//${JAVA:S/\//\\\//g}/g" \ + -e "/%%APP_HOME%%/s//${APP_HOME:S/\//\\\//g}/g" \ $f > ${WRKDIR}/`basename $f` @${ECHO_CMD} " [ DONE ]" .endfor diff --git a/www/jakarta-jmeter/files/patch-aa b/www/jakarta-jmeter/files/patch-aa index a51f322237c9..106f8b32afa6 100644 --- a/www/jakarta-jmeter/files/patch-aa +++ b/www/jakarta-jmeter/files/patch-aa @@ -4,4 +4,4 @@ #! /bin/sh -java -Xincgc -jar `dirname $0`/ApacheJMeter.jar "$@" -+%%JAVA%% -jar `dirname $0`/ApacheJMeter.jar "$@" ++%%JAVA%% -jar %%APP_HOME%%/bin/ApacheJMeter.jar "$@"