diff options
author | agc <agc> | 1999-06-21 09:57:03 +0000 |
---|---|---|
committer | agc <agc> | 1999-06-21 09:57:03 +0000 |
commit | 13b45d1d8d68e3b4906d118e4383df1e4e96ab1b (patch) | |
tree | e37f58cb2baedd8abd9a91d58722695a090bce98 /benchmarks/iozone/Makefile | |
parent | 45d66bf3cc97833501a271931ee277fc42328510 (diff) | |
download | pkgsrc-13b45d1d8d68e3b4906d118e4383df1e4e96ab1b.tar.gz |
Make this package work on Solaris.
Diffstat (limited to 'benchmarks/iozone/Makefile')
-rw-r--r-- | benchmarks/iozone/Makefile | 10 |
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 |