aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/raidtest
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/raidtest')
-rw-r--r--benchmarks/raidtest/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/benchmarks/raidtest/Makefile b/benchmarks/raidtest/Makefile
index 78a06640f9c7..45e9e0e706d8 100644
--- a/benchmarks/raidtest/Makefile
+++ b/benchmarks/raidtest/Makefile
@@ -13,6 +13,12 @@ CATEGORIES= benchmarks
MAINTAINER= pjd@FreeBSD.org
COMMENT= Test performance of storage devices
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 501000
+IGNORE= "supports only FreeBSD 5.1 and above"
+.endif
+
NO_WRKSUBDIR= yes
PLIST_FILES= bin/raidtest
@@ -22,4 +28,4 @@ do-extract:
${MKDIR} ${WRKDIR}
${LN} -sf ${FILESDIR}/${PORTNAME}.c ${FILESDIR}/Makefile ${WRKDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>