summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-09-11 16:12:56 +0000
committerwiz <wiz@pkgsrc.org>2001-09-11 16:12:56 +0000
commitd6524cf3f50a7b23b9bbfffdd68d03068dddd60e (patch)
tree0246b491f545723f0fc934b594113d6836ee0c41 /net
parent8bc24806aabf0f618c3778486b392d56600bf15e (diff)
downloadpkgsrc-d6524cf3f50a7b23b9bbfffdd68d03068dddd60e.tar.gz
Use libpcap buildlink.mk instead of OS test. By Stoned Elipot from pkg/13928.
Diffstat (limited to 'net')
-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"