diff options
author | wiz <wiz> | 2001-09-10 17:04:37 +0000 |
---|---|---|
committer | wiz <wiz> | 2001-09-10 17:04:37 +0000 |
commit | 7a1f5882ab949b7b8c3fb1488d74c1dbe5e236f4 (patch) | |
tree | e5108115b8e18b2a503133b0b32d375cebe41ad0 /net/nmap | |
parent | 72a52c151c2e2d70021492c5031e6946f3fdd357 (diff) | |
download | pkgsrc-7a1f5882ab949b7b8c3fb1488d74c1dbe5e236f4.tar.gz |
Use libpcap buildlink.mk instead of OS-test.
By Stoned Elipot in pkg/13920.
Diffstat (limited to 'net/nmap')
-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" |