summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-09-10 17:04:37 +0000
committerwiz <wiz@pkgsrc.org>2001-09-10 17:04:37 +0000
commit1a06849b4031ca58bcbc941e3d3f348f52bf1a49 (patch)
treee5108115b8e18b2a503133b0b32d375cebe41ad0 /net
parent8012d12766a5c0e7b1fd23c4d3b1d104fa0759aa (diff)
downloadpkgsrc-1a06849b4031ca58bcbc941e3d3f348f52bf1a49.tar.gz
Use libpcap buildlink.mk instead of OS-test.
By Stoned Elipot in pkg/13920.
Diffstat (limited to 'net')
-rw-r--r--net/nmap/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/net/nmap/Makefile b/net/nmap/Makefile
index 10b2deb9dc6..68764888dce 100644
--- a/net/nmap/Makefile
+++ b/net/nmap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2001/08/24 11:23:16 abs Exp $
+# $NetBSD: Makefile,v 1.16 2001/09/10 17:04:37 wiz Exp $
#
DISTNAME= nmap-2.53
@@ -12,15 +12,13 @@ COMMENT= Network/port scanner with OS detection
GNU_CONFIGURE= YES
CONFIGURE_ENV+= INSTALL=${INSTALL}
+CONFIGURE_ARGS+=--with-libpcap=${BUILDLINK_DIR}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS" || ${OPSYS} == "Linux"
MAKE_ENV+= CPPFLAGS=""
-DEPENDS+= libpcap>=0.4:../../net/libpcap
-CONFIGURE_ARGS+=--with-libpcap=${LOCALBASE}
-.else
-CONFIGURE_ARGS+=--with-libpcap
.endif
+.include "../../net/libpcap/buildlink.mk"
.include "../../mk/bsd.pkg.mk"