aboutsummaryrefslogtreecommitdiff
path: root/emulators/dynamips/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/dynamips/Makefile')
-rw-r--r--emulators/dynamips/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/emulators/dynamips/Makefile b/emulators/dynamips/Makefile
index 6c115aeabe58..2b57cfc864f4 100644
--- a/emulators/dynamips/Makefile
+++ b/emulators/dynamips/Makefile
@@ -44,13 +44,10 @@ DYNAMIPS_ARCH= "amd64"
DYNAMIPS_ARCH= "nojit"
.endif
-.if ${OSVERSION} < 500000
+.if ${OSVERSION} < 600029
#
# Requires libpcap 0.9+
-USE_REINPLACE= yes
-
-post-patch:
- @${REINPLACE_CMD} -e 's/^HAS_PCAP=1/HAS_PCAP=0/' ${WRKSRC}/Makefile
+MAKE_ENV= HAS_PCAP=0
.endif
.include <bsd.port.post.mk>