summaryrefslogtreecommitdiff
path: root/net/nmap
diff options
context:
space:
mode:
Diffstat (limited to 'net/nmap')
-rw-r--r--net/nmap/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/net/nmap/Makefile b/net/nmap/Makefile
index 9d0dca6fa9c..cd2641be558 100644
--- a/net/nmap/Makefile
+++ b/net/nmap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2000/10/08 15:06:08 hubertf Exp $
+# $NetBSD: Makefile,v 1.13 2000/12/05 16:05:27 veego Exp $
#
DISTNAME= nmap-2.53
@@ -11,12 +11,15 @@ HOMEPAGE= http://www.insecure.org/nmap/index.html
GNU_CONFIGURE= YES
CONFIGURE_ENV+= INSTALL=${INSTALL}
-CONFIGURE_ARGS+=--with-libpcap
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
MAKE_ENV+= CPPFLAGS=""
+DEPENDS+= libpcap-0.4:../../net/libpcap
+CONFIGURE_ARGS+=--with-libpcap=${LOCALBASE}
+.else
+CONFIGURE_ARGS+=--with-libpcap
.endif
.include "../../mk/bsd.pkg.mk"