summaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2004-12-28 22:22:55 +0000
committerpjd <pjd@FreeBSD.org>2004-12-28 22:22:55 +0000
commit7ac31fc564b30139e9a4341fdfdea9bf73f3811b (patch)
tree19538a1cc31d03f558be8c9ef693e60c17c00dd6 /benchmarks
parentb7184aab1bb78de56e3f1072083a613a6227abc0 (diff)
downloadFreeBSD-ports-7ac31fc564b30139e9a4341fdfdea9bf73f3811b.zip
FreeBSD-ports-7ac31fc564b30139e9a4341fdfdea9bf73f3811b.tar.gz
Raidtest requires functions (byteorder(9)) which were introduced in
FreeBSD 5.1.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/raidtest/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/benchmarks/raidtest/Makefile b/benchmarks/raidtest/Makefile
index 78a0664..45e9e0e 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>
OpenPOWER on IntegriCloud