diff options
author | Max Khon <fjoe@FreeBSD.org> | 2006-02-13 19:42:36 +0000 |
---|---|---|
committer | Max Khon <fjoe@FreeBSD.org> | 2006-02-13 19:42:36 +0000 |
commit | 5775a87fbc9e60b266f72b11a8843dbbe45f30a5 (patch) | |
tree | 7054c47fb1ca230a6e3b9597aefbb2ebed44ade0 /emulators/dynamips-devel/Makefile | |
parent | 87e9768329c05ba8d5eca5e8b8ae181b5f6a483a (diff) |
Notes
Diffstat (limited to 'emulators/dynamips-devel/Makefile')
-rw-r--r-- | emulators/dynamips-devel/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/emulators/dynamips-devel/Makefile b/emulators/dynamips-devel/Makefile index 5e5a9346865d..6c115aeabe58 100644 --- a/emulators/dynamips-devel/Makefile +++ b/emulators/dynamips-devel/Makefile @@ -6,8 +6,7 @@ # PORTNAME= dynamips -PORTVERSION= 0.2.3b -PORTREVISION= 1 +PORTVERSION= 0.2.3c CATEGORIES= emulators MASTER_SITES= http://www.ipflow.utc.fr/dynamips/ @@ -45,4 +44,13 @@ DYNAMIPS_ARCH= "amd64" DYNAMIPS_ARCH= "nojit" .endif +.if ${OSVERSION} < 500000 +# +# Requires libpcap 0.9+ +USE_REINPLACE= yes + +post-patch: + @${REINPLACE_CMD} -e 's/^HAS_PCAP=1/HAS_PCAP=0/' ${WRKSRC}/Makefile +.endif + .include <bsd.port.post.mk> |