diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2003-03-31 12:29:23 +0800 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2003-03-31 12:29:23 +0800 |
commit | ce978adb6aac3d35387c306fe71270e0fcc819db (patch) | |
tree | ca2a5185128bc218c6ec684f9df49fb14763fc86 /net/py-pcap | |
parent | 712750516c5320e5910411cfe768f29f88254fc4 (diff) | |
download | freebsd-ports-gnome-ce978adb6aac3d35387c306fe71270e0fcc819db.tar.gz freebsd-ports-gnome-ce978adb6aac3d35387c306fe71270e0fcc819db.tar.zst freebsd-ports-gnome-ce978adb6aac3d35387c306fe71270e0fcc819db.zip |
Change the `grep` test to an OSVERSION test.
Spotted by: kris
Diffstat (limited to 'net/py-pcap')
-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> |