diff options
author | wiz <wiz> | 2001-09-11 16:12:56 +0000 |
---|---|---|
committer | wiz <wiz> | 2001-09-11 16:12:56 +0000 |
commit | 9494cd62243f2465ba04295c261646d76cf8d462 (patch) | |
tree | 0246b491f545723f0fc934b594113d6836ee0c41 /net/snort/Makefile | |
parent | 1f6ad5bea1754398863572d20c176378d8b20183 (diff) | |
download | pkgsrc-9494cd62243f2465ba04295c261646d76cf8d462.tar.gz |
Use libpcap buildlink.mk instead of OS test. By Stoned Elipot from pkg/13928.
Diffstat (limited to 'net/snort/Makefile')
-rw-r--r-- | net/snort/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/snort/Makefile b/net/snort/Makefile index b4740804466..2092cd613c8 100644 --- a/net/snort/Makefile +++ b/net/snort/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2001/08/24 11:43:47 abs Exp $ +# $NetBSD: Makefile,v 1.12 2001/09/11 16:12:56 wiz Exp $ # DISTNAME= snort-1.8.1-RELEASE @@ -17,11 +17,12 @@ HOMEPAGE= http://www.snort.org/ COMMENT= Libpcap-based packet sniffer/logger GNU_CONFIGURE= YES +CONFIGURE_ARGS+= --with-libpcap-includes=${BUILDLINK_DIR}/include +CONFIGURE_ARGS+= --with-libpcap-libraries=${BUILDLINK_DIR}/lib .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "SunOS" || ${OPSYS} == "Linux" -DEPENDS+= libpcap>=0.4:../../net/libpcap ROOTGROUP= root .endif @@ -50,4 +51,5 @@ post-install: done ${INSTALL_MAN} ${WRKSRC}/snort.8 ${PREFIX}/man/man8 +.include "../../net/libpcap/buildlink.mk" .include "../../mk/bsd.pkg.mk" |