summaryrefslogtreecommitdiff
path: root/benchmarks/iozone
diff options
context:
space:
mode:
authoragc <agc>1999-06-21 09:57:03 +0000
committeragc <agc>1999-06-21 09:57:03 +0000
commit13b45d1d8d68e3b4906d118e4383df1e4e96ab1b (patch)
treee37f58cb2baedd8abd9a91d58722695a090bce98 /benchmarks/iozone
parent45d66bf3cc97833501a271931ee277fc42328510 (diff)
downloadpkgsrc-13b45d1d8d68e3b4906d118e4383df1e4e96ab1b.tar.gz
Make this package work on Solaris.
Diffstat (limited to 'benchmarks/iozone')
-rw-r--r--benchmarks/iozone/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/benchmarks/iozone/Makefile b/benchmarks/iozone/Makefile
index 4e3f1581ae6..7b34ca9141d 100644
--- a/benchmarks/iozone/Makefile
+++ b/benchmarks/iozone/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 1999/03/16 09:02:27 agc Exp $
+# $NetBSD: Makefile,v 1.7 1999/06/21 09:57:03 agc Exp $
DISTNAME= iozone
PKGNAME= iozone-1.14b
@@ -11,7 +11,13 @@ MAINTAINER= root@garbled.net
NO_WRKSUBDIR= yes
do-build:
- (cd ${WRKDIR} && ${CC} -O2 -o iozone iozone.c)
+ (cd ${WRKDIR} && \
+ case `uname -s` in \
+ SunOS) \
+ ${CC} -O2 -DSYSTYPE_SYSV -o iozone iozone.c ;; \
+ NetBSD) \
+ ${CC} -O2 -o iozone iozone.c ;; \
+ esac)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/iozone ${PREFIX}/bin