aboutsummaryrefslogtreecommitdiff
path: root/security/unicornscan/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/unicornscan/Makefile')
-rw-r--r--security/unicornscan/Makefile15
1 files changed, 1 insertions, 14 deletions
diff --git a/security/unicornscan/Makefile b/security/unicornscan/Makefile
index bca38f85c124..f15e3ab92614 100644
--- a/security/unicornscan/Makefile
+++ b/security/unicornscan/Makefile
@@ -18,6 +18,7 @@ BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet
USE_GMAKE= yes
MAKE_ENV= LIBNET_CONFIG="${LIBNET_CONFIG}"
+CFLAGS+= -DWITH_LONGOPTS
MAN1= unicornscan.1
@@ -27,20 +28,6 @@ LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config
.include <bsd.port.pre.mk>
-# Check if where building on a 5.3 or older system. Older
-# system require libpcap 0.8.x to be installed.
-
-.if ${OSVERSION} < 503000
-BUILD_DEPENDS+= ${PREFIX}/lib/libpcap.a:${PORTSDIR}/net/libpcap
-.endif
-
-# Systems newer then 502103 include the getopt_long
-# function
-
-.if ${OSVERSION} > 502103
-CFLAGS+= -DWITH_LONGOPTS
-.endif
-
post-patch:
.for text in pkg-message
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' \