summaryrefslogtreecommitdiff
path: root/net/py-pcap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/py-pcap/Makefile')
-rw-r--r--net/py-pcap/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/net/py-pcap/Makefile b/net/py-pcap/Makefile
index 451fda88526a..17404cfd009b 100644
--- a/net/py-pcap/Makefile
+++ b/net/py-pcap/Makefile
@@ -23,9 +23,11 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_PYTHON_PREFIX= yes
-PCAPTEST!= grep PCAP_IF_LOOPBACK /usr/include/pcap.h || true
-.if empty(PCAPTEST)
-BROKEN= "needs libpcap 0.7 or higher"
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 460001 || \
+ ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500038 )
+IGNORE= "needs libpcap 0.7 or higher"
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>