aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/webbench
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-06-04 22:13:35 +0800
committervs <vs@FreeBSD.org>2005-06-04 22:13:35 +0800
commit65338ac19331c70cf1b305e028f83cc9770078fe (patch)
tree1f2c842b724cb39eeec88d48032f32274a72096f /benchmarks/webbench
parentd63cc41e49eb11751d9cf70b39ce340e03fc5f41 (diff)
downloadfreebsd-ports-gnome-65338ac19331c70cf1b305e028f83cc9770078fe.tar.gz
freebsd-ports-gnome-65338ac19331c70cf1b305e028f83cc9770078fe.tar.zst
freebsd-ports-gnome-65338ac19331c70cf1b305e028f83cc9770078fe.zip
Use MAKE_* instead of Makefile-patch
Diffstat (limited to 'benchmarks/webbench')
-rw-r--r--benchmarks/webbench/Makefile4
-rw-r--r--benchmarks/webbench/files/patch-Makefile13
2 files changed, 2 insertions, 15 deletions
diff --git a/benchmarks/webbench/Makefile b/benchmarks/webbench/Makefile
index 5163a469a47c..c5436541572f 100644
--- a/benchmarks/webbench/Makefile
+++ b/benchmarks/webbench/Makefile
@@ -16,8 +16,8 @@ COMMENT= Simple forking web benchmark
USE_GETOPT_LONG=yes
-MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" \
- LDFLAGS="${LDFLAGS}"
+MAKE_ENV+= LDFLAGS="${LDFLAGS}"
+MAKE_ARGS+= CFLAGS="${CPPFLAGS} ${CFLAGS}"
.if !defined(NO_INSTALL_MANPAGES)
MAN1= webbench.1
diff --git a/benchmarks/webbench/files/patch-Makefile b/benchmarks/webbench/files/patch-Makefile
deleted file mode 100644
index 192ca29e6b00..000000000000
--- a/benchmarks/webbench/files/patch-Makefile
+++ /dev/null
@@ -1,13 +0,0 @@
---- Makefile.orig Thu Jan 15 12:09:01 2004
-+++ Makefile Thu Jan 29 20:38:03 2004
-@@ -20,8 +20,8 @@
- install -m 644 debian/changelog $(DESTDIR)$(PREFIX)/share/doc/webbench
- .endif
-
--webbench: webbench.o Makefile
-- $(CC) $(CFLAGS) $(LDFLAGS) -o webbench webbench.o $(LIBS)
-+webbench: Makefile
-+ ${CC} $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o webbench webbench.c $(LIBS)
-
- clean:
- -rm -f *.o webbench *~ core tags