aboutsummaryrefslogtreecommitdiffstats
path: root/security/quantis
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2010-06-12 14:54:13 +0800
committerale <ale@FreeBSD.org>2010-06-12 14:54:13 +0800
commit88c5884d87ea0876e61803a7dc7338924b22fb86 (patch)
treed5d04875fc22da04fa65dfc29a202868b3a15456 /security/quantis
parent2bdaf3c5dd1cccad39ca68cfbeeb38b2a0168343 (diff)
downloadfreebsd-ports-gnome-88c5884d87ea0876e61803a7dc7338924b22fb86.tar.gz
freebsd-ports-gnome-88c5884d87ea0876e61803a7dc7338924b22fb86.tar.zst
freebsd-ports-gnome-88c5884d87ea0876e61803a7dc7338924b22fb86.zip
This port is useless with FreeBSD < 7.
Diffstat (limited to 'security/quantis')
-rw-r--r--security/quantis/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/security/quantis/Makefile b/security/quantis/Makefile
index 7e6002b59459..68a5548de105 100644
--- a/security/quantis/Makefile
+++ b/security/quantis/Makefile
@@ -15,7 +15,7 @@ MASTER_SITE_SUBDIR= ale
MAINTAINER= ale@FreeBSD.org
COMMENT= Libraries and utilities to access Quantis devices
-OPTIONS= PCI "Enable Quantis PCI support (FreeBSD >= 7.0)" on \
+OPTIONS= PCI "Enable Quantis PCI support" on \
USB "Enable Quantis USB support (FreeBSD >= 8.1)" on \
JAVA "Enable Java support" on \
COMPAT "Build API v1 compatibility libraries" off \
@@ -45,7 +45,11 @@ CMAKE_BUILD_TYPE=Debug
.include <bsd.port.pre.mk>
-.if defined(WITH_PCI) && ${OSVERSION} >= 700000
+.if ${OSVERSION} < 700000
+IGNORE= requires FreeBSD >= 7
+.endif
+
+.if defined(WITH_PCI)
RUN_DEPENDS+= ${KMODDIR}/quantis.ko:${PORTSDIR}/security/quantis-kmod
.else
CMAKE_ARGS+= -DDISABLE_QUANTIS_PCI=1