aboutsummaryrefslogtreecommitdiff
path: root/security/snort
diff options
context:
space:
mode:
authorSean Chittenden <seanc@FreeBSD.org>2003-01-04 15:53:39 +0000
committerSean Chittenden <seanc@FreeBSD.org>2003-01-04 15:53:39 +0000
commitb2c46c868cc96c81b525dff6d171894917d46f98 (patch)
treec66dd220e2259f4aa778ff1bb17f3f5de39db32d /security/snort
parente9ef928f2046c0f8ce94551ee6e9d9ec43bd08e4 (diff)
downloadports-b2c46c868cc96c81b525dff6d171894917d46f98.tar.gz
ports-b2c46c868cc96c81b525dff6d171894917d46f98.zip
Notes
Diffstat (limited to 'security/snort')
-rw-r--r--security/snort/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/security/snort/Makefile b/security/snort/Makefile
index ee09b4d8ec2e..1dccf23e25d8 100644
--- a/security/snort/Makefile
+++ b/security/snort/Makefile
@@ -35,7 +35,8 @@ LDFLAGS+= ${PTHREAD_LIBS}
.endif
.if defined(WITH_POSTGRES)
-LIB_DEPENDS+= pq.2:${PORTSDIR}/databases/postgresql7
+POSTGRESQL_PORT?= databases/postgresql7
+LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
CONFIGURE_ARGS+=--with-postgresql=${LOCALBASE}/pgsql
.if exists(/usr/lib/libssl.a) && exists(/usr/lib/libcrypto.a)
LDFLAGS+= -lssl -lcrypto