diff options
Diffstat (limited to 'net/nmap/Makefile')
-rw-r--r-- | net/nmap/Makefile | 8 |
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" |