summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz>2001-09-11 16:12:56 +0000
committerwiz <wiz>2001-09-11 16:12:56 +0000
commit9494cd62243f2465ba04295c261646d76cf8d462 (patch)
tree0246b491f545723f0fc934b594113d6836ee0c41
parent1f6ad5bea1754398863572d20c176378d8b20183 (diff)
downloadpkgsrc-9494cd62243f2465ba04295c261646d76cf8d462.tar.gz
Use libpcap buildlink.mk instead of OS test. By Stoned Elipot from pkg/13928.
-rw-r--r--net/snort/Makefile6
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"