summaryrefslogtreecommitdiff
path: root/net/nmap
diff options
context:
space:
mode:
authorveego <veego>2000-12-05 16:05:27 +0000
committerveego <veego>2000-12-05 16:05:27 +0000
commit10dbdc221494d6e8ccdb0b78fc13a45b20d45438 (patch)
tree8d66d4f5d40f9647f9b09d15195904070e88df67 /net/nmap
parentb307acdf8950310bd57a33d8457cfede7364535d (diff)
downloadpkgsrc-10dbdc221494d6e8ccdb0b78fc13a45b20d45438.tar.gz
nmap needs libpcap on Solaris. Move the --with-libpcap so we can supply
a directory option to it.
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"