diff options
author | vs <vs@FreeBSD.org> | 2005-06-04 14:20:45 +0000 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-06-04 14:20:45 +0000 |
commit | a11e6757ec85270ebb9c7237138a47bee88c436b (patch) | |
tree | a80040fd81960b8098a212d31cee39ed8c52884e /benchmarks | |
parent | f1664122a718ea8d96e56036e8cf18fbec647ebc (diff) | |
download | FreeBSD-ports-a11e6757ec85270ebb9c7237138a47bee88c436b.zip FreeBSD-ports-a11e6757ec85270ebb9c7237138a47bee88c436b.tar.gz |
Cleanup ENV-handling
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/autobench/Makefile | 3 | ||||
-rw-r--r-- | benchmarks/autobench/files/patch-Makefile | 13 |
2 files changed, 2 insertions, 14 deletions
diff --git a/benchmarks/autobench/Makefile b/benchmarks/autobench/Makefile index 3d8dc79..78a28ac 100644 --- a/benchmarks/autobench/Makefile +++ b/benchmarks/autobench/Makefile @@ -20,12 +20,13 @@ RUN_DEPENDS= httperf:${PORTSDIR}/benchmarks/httperf \ USE_PERL5= yes USE_GMAKE= yes +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" DEBUG_FLAGS= \ + PREFIX=${PREFIX} MAN1= autobench.1 autobench_admin.1 autobenchd.1 bench2graph.1 \ crfile.1 sesslog.1 post-patch: - @${PERL} -pi -e "s|^PREFIX|#PREFIX|g" ${WRKSRC}/Makefile .for file in autobench autobench_admin @${PERL} -pi -e "s|/etc/|${PREFIX}/etc/|g" ${WRKSRC}/${file} .endfor diff --git a/benchmarks/autobench/files/patch-Makefile b/benchmarks/autobench/files/patch-Makefile index 74ea5a4..038274b 100644 --- a/benchmarks/autobench/files/patch-Makefile +++ b/benchmarks/autobench/files/patch-Makefile @@ -1,18 +1,5 @@ --- Makefile.orig Thu May 27 18:59:27 2004 +++ Makefile Sun Jan 16 19:44:14 2005 -@@ -20,9 +20,9 @@ - endif - - # Compiler & flags --CC=gcc --CFLAGS=-O2 -Wall --DEBUG_FLAGS=-Wall -g -+CC?=gcc -+CFLAGS+= -Wall -+DEBUG_FLAGS?=-Wall -g - - #--------------------------------------------------------------------------- - # Release related @@ -55,7 +55,7 @@ perl -pi -e 's/my \$$MASTER_CONFIG =.*$$/my \$$MASTER_CONFIG = "$$ENV{AB_CFG}";/' autobench cp crfile autobench autobenchd autobench_admin sesslog bench2graph $(BINDIR) |