summaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2005-01-16 18:56:48 +0000
committerclement <clement@FreeBSD.org>2005-01-16 18:56:48 +0000
commit265d80d025ec479fa917bc8319bca5b7401d3009 (patch)
tree41483db2ed71a111f96e429ed368b5c116a7c64a /benchmarks
parent681daee8c319e9c774f2aef572422bf78de27632 (diff)
downloadFreeBSD-ports-265d80d025ec479fa917bc8319bca5b7401d3009.zip
FreeBSD-ports-265d80d025ec479fa917bc8319bca5b7401d3009.tar.gz
- Be nicer with CFLAGS
- Preserve autobench.conf by installing autobench.conf-dist
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/autobench/files/patch-Makefile19
-rw-r--r--benchmarks/autobench/pkg-plist2
2 files changed, 15 insertions, 6 deletions
diff --git a/benchmarks/autobench/files/patch-Makefile b/benchmarks/autobench/files/patch-Makefile
index c142a3f..74ea5a4 100644
--- a/benchmarks/autobench/files/patch-Makefile
+++ b/benchmarks/autobench/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Sat Nov 1 17:15:35 2003
-+++ Makefile Sat Nov 1 17:16:01 2003
+--- Makefile.orig Thu May 27 18:59:27 2004
++++ Makefile Sun Jan 16 19:44:14 2005
@@ -20,9 +20,9 @@
endif
@@ -8,8 +8,17 @@
-CFLAGS=-O2 -Wall
-DEBUG_FLAGS=-Wall -g
+CC?=gcc
-+CFLAGS?=-O2 -Wall
-+DEBUG_FLAGSi?=-Wall -g
++CFLAGS+= -Wall
++DEBUG_FLAGS?=-Wall -g
- all: crfile sesslog
+ #---------------------------------------------------------------------------
+ # 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)
+ cp autobenchd.1 autobench_admin.1 crfile.1 autobench.1 sesslog.1 bench2graph.1 $(MANDIR)
+- cp autobench.conf $(ETCDIR)
++ cp autobench.conf $(ETCDIR)/autobench.conf-dist
+ clean:
+ rm -f crfile sesslog
diff --git a/benchmarks/autobench/pkg-plist b/benchmarks/autobench/pkg-plist
index 89abdec..a493a37 100644
--- a/benchmarks/autobench/pkg-plist
+++ b/benchmarks/autobench/pkg-plist
@@ -4,4 +4,4 @@ bin/autobenchd
bin/bench2graph
bin/crfile
bin/sesslog
-etc/autobench.conf
+etc/autobench.conf-dist
OpenPOWER on IntegriCloud