diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2003-03-31 04:29:23 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2003-03-31 04:29:23 +0000 |
commit | ce978adb6aac3d35387c306fe71270e0fcc819db (patch) | |
tree | ca2a5185128bc218c6ec684f9df49fb14763fc86 /net | |
parent | Update based graphviz's version to fix a checksum failure (diff) |
Change the `grep` test to an OSVERSION test.
Spotted by: kris
Notes
Notes:
svn path=/head/; revision=77799
Diffstat (limited to 'net')
-rw-r--r-- | net/py-pcap/Makefile | 10 |
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> |