summaryrefslogtreecommitdiff
path: root/benchmarks/iozone/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/iozone/Makefile')
-rw-r--r--benchmarks/iozone/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/benchmarks/iozone/Makefile b/benchmarks/iozone/Makefile
index 14df5b24d28..abab5ef9d5d 100644
--- a/benchmarks/iozone/Makefile
+++ b/benchmarks/iozone/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.54 2015/06/12 10:48:25 wiz Exp $
+# $NetBSD: Makefile,v 1.55 2015/07/13 14:05:56 ryoon Exp $
-DISTNAME= iozone3_429
+DISTNAME= iozone3_430
PKGNAME= ${DISTNAME:S/3_/-3./}
-PKGREVISION= 1
CATEGORIES= benchmarks
MASTER_SITES= http://www.iozone.org/src/current/
EXTRACT_SUFX= .tar
@@ -23,7 +22,11 @@ CPPFLAGS.SunOS+= -Dsolaris
.include "../../mk/bsd.prefs.mk"
-.if !empty(OPSYS:M*BSD) || ${OPSYS} == "Linux" || ${OPSYS} == "DragonFly"
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-i386)
+BUILD_TARGET= netbsd
+.elif !empty(MACHINE_PLATFORM:MNetBSD-*-x86_64)
+BUILD_TARGET= netbsd-AMD64
+.elif !empty(OPSYS:M*BSD) || ${OPSYS} == "Linux" || ${OPSYS} == "DragonFly"
BUILD_TARGET= ${LOWER_OPSYS}
.elif (${OPSYS} == "SunOS")
BUILD_TARGET= Solaris