aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2004-12-29 06:22:55 +0800
committerpjd <pjd@FreeBSD.org>2004-12-29 06:22:55 +0800
commit7ac31fc564b30139e9a4341fdfdea9bf73f3811b (patch)
tree19538a1cc31d03f558be8c9ef693e60c17c00dd6
parentb7184aab1bb78de56e3f1072083a613a6227abc0 (diff)
downloadfreebsd-ports-gnome-7ac31fc564b30139e9a4341fdfdea9bf73f3811b.tar.gz
freebsd-ports-gnome-7ac31fc564b30139e9a4341fdfdea9bf73f3811b.tar.zst
freebsd-ports-gnome-7ac31fc564b30139e9a4341fdfdea9bf73f3811b.zip
Raidtest requires functions (byteorder(9)) which were introduced in
FreeBSD 5.1.
-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>