summaryrefslogtreecommitdiff
path: root/net/nmap
diff options
context:
space:
mode:
authorveego <veego@pkgsrc.org>2000-12-05 16:05:27 +0000
committerveego <veego@pkgsrc.org>2000-12-05 16:05:27 +0000
commitf927c8393c232c92f4667f4286109b281211c6f6 (patch)
tree8d66d4f5d40f9647f9b09d15195904070e88df67 /net/nmap
parente0d3ae3b1decd7054d8c50433ff4a26ae24d0a3a (diff)
downloadpkgsrc-f927c8393c232c92f4667f4286109b281211c6f6.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"