From c747ed147a33552966591a4227d7f34e0e41aef3 Mon Sep 17 00:00:00 2001 From: Alex Dupre Date: Sat, 12 Jun 2010 06:54:13 +0000 Subject: [PATCH] This port is useless with FreeBSD < 7. --- security/quantis/Makefile | 8 ++++++-- 1 file 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 -.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