Upgrade to version 3.137

This commit is contained in:
Jean-Marc Zucconi 2002-11-03 22:59:43 +00:00
parent a3be6877e5
commit 1f8d1998bb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69385
4 changed files with 32 additions and 12 deletions

View file

@ -6,8 +6,8 @@
#
PORTNAME= iozone
PORTVERSION= 3.83
PORTREVISION= 1
PORTVERSION= 3.137
PORTREVISION= 0
CATEGORIES= benchmarks
MASTER_SITES= http://www.iozone.org/src/current/
DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/}

View file

@ -1 +1 @@
MD5 (iozone3_83.tar) = d281b36dea3ec847c9ad16fb01af6a27
MD5 (iozone3_137.tar) = af2a2e75b51c18dd78e3ea4205c8ea0d

View file

@ -1,23 +1,23 @@
--- makefile~ Tue Mar 5 00:09:11 2002
+++ makefile Tue Mar 5 15:44:53 2002
@@ -253,7 +253,7 @@
--- makefile.orig Thu Oct 31 18:41:26 2002
+++ makefile Sun Nov 3 23:51:04 2002
@@ -304,7 +304,7 @@
#
freebsd: iozone_freebsd.o libbif.o
freebsd: iozone_freebsd.o libbif.o
- cc -O -Dunix -DHAVE_ANSIC_C -DNO_THREADS -DSHARED_MEM \
+ cc ${CFLAGS} -Dunix -DHAVE_ANSIC_C -DNO_THREADS -DSHARED_MEM \
iozone_freebsd.o libbif.o -o iozone
#
# GNU C compiler OpenBSD build with no threads, no largefiles, no async I/O
@@ -601,9 +601,9 @@
@@ -730,9 +730,9 @@
@echo ""
@echo "Build iozone for FreeBSD"
@echo ""
- cc -c -O -Dunix -Dbsd4_2 -DHAVE_ANSIC_C -DNO_THREADS \
+ cc -c ${CFLAGS} -Dunix -Dbsd4_2 -DHAVE_ANSIC_C -DNO_THREADS \
+ cc -c ${CFLAGS} -Dunix -DHAVE_ANSIC_C -DNO_THREADS \
-DSHARED_MEM iozone.c -o iozone_freebsd.o
- cc -c -O -Dunix -Dbsd4_2 -DHAVE_ANSIC_C -DNO_THREADS \
+ cc -c ${CFLAGS} -Dunix -Dbsd4_2 -DHAVE_ANSIC_C -DNO_THREADS \
+ cc -c ${CFLAGS} -Dunix -DHAVE_ANSIC_C -DNO_THREADS \
-DSHARED_MEM libbif.c -o libbif.o
iozone_openbsd.o: iozone.c libbif.c
iozone_macosx.o: iozone.c libbif.c

View file

@ -0,0 +1,20 @@
--- iozone.c.orig Thu Oct 31 18:41:26 2002
+++ iozone.c Sun Nov 3 23:56:59 2002
@@ -285,7 +285,7 @@
#endif
#ifdef unix
-#ifdef __APPLE__
+#if defined (__APPLE__) || defined (__FreeBSD__)
#include <sys/time.h>
#endif
#include <sys/times.h>
@@ -802,7 +802,7 @@
void throughput_test(); /* Multi process throughput */
void multi_throughput_test(); /* Multi process throughput */
void prepage(); /* Pre-fault user buffer */
-#if defined(linux) || defined(solaris) || defined(__AIX__) || defined(OSFV5) || defined(UWIN) || defined(Windows) || defined(__APPLE__) || defined(OSFV4) || defined(IRIX) || defined(IRIX64)
+#if defined(linux) || defined(solaris) || defined(__AIX__) || defined(OSFV5) || defined(UWIN) || defined(Windows) || defined(__APPLE__) || defined(OSFV4) || defined(IRIX) || defined(IRIX64) || defined (__FreeBSD__)
float do_compute(float); /* compute cycle simulation */
#else
float do_compute(); /* compute cycle simulation */