diff options
author | agc <agc@pkgsrc.org> | 1999-06-21 09:57:03 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1999-06-21 09:57:03 +0000 |
commit | c942fe921fa4c86bc771de48aa346081ec82d94e (patch) | |
tree | e37f58cb2baedd8abd9a91d58722695a090bce98 /benchmarks/iozone | |
parent | 1d8e45bcd68c3148f7c835d0f40f91c327303d9e (diff) | |
download | pkgsrc-c942fe921fa4c86bc771de48aa346081ec82d94e.tar.gz |
Make this package work on Solaris.
Diffstat (limited to 'benchmarks/iozone')
-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 |