summaryrefslogtreecommitdiff
path: root/net/snort
diff options
context:
space:
mode:
authorrh <rh>2002-04-14 09:49:46 +0000
committerrh <rh>2002-04-14 09:49:46 +0000
commitff52bbe1a0524f157b4d5219185bbc0a45a38f9a (patch)
treed087ff44cd43effe69555d0cee21bf1adc41a7b0 /net/snort
parente5498f9861b35789af455e89e9b26030105e6ead (diff)
downloadpkgsrc-ff52bbe1a0524f157b4d5219185bbc0a45a38f9a.tar.gz
Add a SNORT_USE_PGSQL option to compile in PostgreSQL support (and add
the appropriate dependency). Patch provided by ww@GROOVY.NET
Diffstat (limited to 'net/snort')
-rw-r--r--net/snort/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/net/snort/Makefile b/net/snort/Makefile
index aaa3873ea04..1368ae1e128 100644
--- a/net/snort/Makefile
+++ b/net/snort/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2002/04/10 22:01:10 rh Exp $
+# $NetBSD: Makefile,v 1.18 2002/04/14 09:49:46 rh Exp $
#
DISTNAME= snort-1.8.6
@@ -19,7 +19,10 @@ GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-libpcap-includes=${BUILDLINK_DIR}/include
CONFIGURE_ARGS+= --with-libpcap-libraries=${BUILDLINK_DIR}/lib
-#WRKSRC= ${WRKDIR}/snort
+.if defined(SNORT_USE_PGSQL)
+.include "../../databases/postgresql-lib/buildlink.mk"
+CONFIGURE_ARGS+= --with-postgresql=${BUILDLINK_DIR}
+.endif
post-install:
${INSTALL_DATA_DIR} -m 700 -o ${ROOT_USER} -g ${ROOT_GROUP} /var/log/snort