diff options
author | agc <agc> | 1999-06-21 09:57:03 +0000 |
---|---|---|
committer | agc <agc> | 1999-06-21 09:57:03 +0000 |
commit | 8d8516a14119b81f57522e220f97ec6da16f31c7 (patch) | |
tree | e37f58cb2baedd8abd9a91d58722695a090bce98 | |
parent | e9dc6d3e6f2982e86fe292991bf24056162919b3 (diff) | |
download | pkgsrc-8d8516a14119b81f57522e220f97ec6da16f31c7.tar.gz |
Make this package work on Solaris.
-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 |