aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--benchmarks/iozone/Makefile3
-rw-r--r--benchmarks/iozone21/Makefile3
-rw-r--r--benchmarks/iozone21/files/patch-aa12
3 files changed, 12 insertions, 6 deletions
diff --git a/benchmarks/iozone/Makefile b/benchmarks/iozone/Makefile
index 4c1c18b2794c..5c48deb54ec9 100644
--- a/benchmarks/iozone/Makefile
+++ b/benchmarks/iozone/Makefile
@@ -1,4 +1,7 @@
DISTNAME= iozone-1.16
MASTER_SITES= ftp://liasun3.epfl.ch/pub/util/
+MAKE_FLAGS= PREFIX=${PREFIX}
+MAKEFILE=
+
.include <bsd.port.mk>
diff --git a/benchmarks/iozone21/Makefile b/benchmarks/iozone21/Makefile
index 4c1c18b2794c..5c48deb54ec9 100644
--- a/benchmarks/iozone21/Makefile
+++ b/benchmarks/iozone21/Makefile
@@ -1,4 +1,7 @@
DISTNAME= iozone-1.16
MASTER_SITES= ftp://liasun3.epfl.ch/pub/util/
+MAKE_FLAGS= PREFIX=${PREFIX}
+MAKEFILE=
+
.include <bsd.port.mk>
diff --git a/benchmarks/iozone21/files/patch-aa b/benchmarks/iozone21/files/patch-aa
index 94c857960bc9..c4d683d34ff0 100644
--- a/benchmarks/iozone21/files/patch-aa
+++ b/benchmarks/iozone21/files/patch-aa
@@ -1,5 +1,5 @@
-*** /dev/null Sat Sep 24 18:38:46 1994
---- Makefile Sat Sep 24 19:16:52 1994
+*** /dev/null Wed Oct 5 14:46:59 1994
+--- Makefile Wed Oct 5 16:03:22 1994
***************
*** 0 ****
--- 1,29 ----
@@ -9,9 +9,9 @@
+ cc -O -o iozone iozone.c
+
+ install:
-+ mkdir -p /usr/local/bin
-+ mkdir -p /usr/local/man/man1
-+ install -c -o bin -m 755 iozone /usr/local/bin
++ mkdir -p ${PREFIX}/bin
++ mkdir -p ${PREFIX}/man/man1
++ install -c -o bin -m 755 iozone ${PREFIX}/bin
+ echo .Dd `/bin/date` > iozone.1
+ echo .Dt IOZONE 1 >> iozone.1
+ echo .Sh NAME >> iozone.1
@@ -31,4 +31,4 @@
+ {if (x) print $0}' >>iozone.1
+ echo .Sh AUTHOR >> iozone.1
+ echo Bill Norcott >> iozone.1
-+ install -m 644 iozone.1 /usr/local/man/man1
++ install -m 644 iozone.1 ${PREFIX}/man/man1