summaryrefslogtreecommitdiff
path: root/net/snort
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2002-04-14 09:49:46 +0000
committerrh <rh@pkgsrc.org>2002-04-14 09:49:46 +0000
commit2842fc1305d5ebbf004c6847fd69f37bed29560b (patch)
treed087ff44cd43effe69555d0cee21bf1adc41a7b0 /net/snort
parent84fc29abe9b5c96aab2c92073fae27bd5c7fea59 (diff)
downloadpkgsrc-2842fc1305d5ebbf004c6847fd69f37bed29560b.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