aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/raidtest
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2004-12-28 22:22:55 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2004-12-28 22:22:55 +0000
commit089b548af4ea123275ded12dd513a0bd0d2593e4 (patch)
tree8dc888722da7257bbb5447e37050ac13cded6cd2 /benchmarks/raidtest
parent6053d140071cae74fc541a1240f96ffd2c9964bd (diff)
downloadports-089b548af4ea123275ded12dd513a0bd0d2593e4.tar.gz
ports-089b548af4ea123275ded12dd513a0bd0d2593e4.zip
Raidtest requires functions (byteorder(9)) which were introduced in
FreeBSD 5.1.
Notes
Notes: svn path=/head/; revision=125385
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>