summaryrefslogtreecommitdiffstats
path: root/security/snort
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2001-04-10 10:49:33 +0000
committerdirk <dirk@FreeBSD.org>2001-04-10 10:49:33 +0000
commitb1e973853a6aff8687c1b433e9db8e23b5548655 (patch)
tree5b5adb42cb316c7e04f95277211d052fb0e9c229 /security/snort
parent90b88cf27bf57b5fbd3f770f87f2395fa783f979 (diff)
downloadFreeBSD-ports-b1e973853a6aff8687c1b433e9db8e23b5548655.zip
FreeBSD-ports-b1e973853a6aff8687c1b433e9db8e23b5548655.tar.gz
Fix WITH_MYSQL, WITH_ODBC and WITH_POSTGRES.
PR: ports/25803
Diffstat (limited to 'security/snort')
-rw-r--r--security/snort/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/security/snort/Makefile b/security/snort/Makefile
index e52fe63..a330de6 100644
--- a/security/snort/Makefile
+++ b/security/snort/Makefile
@@ -26,21 +26,18 @@ LDFLAGS+= "-L${LOCALBASE}/lib"
.if defined(WITH_MYSQL)
LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
-CONFIGURE_ARGS+=--with-mysql-includes=${LOCALBASE}/include/mysql \
- --with-mysql-libraries=${LOCALBASE}/lib/mysql
+CONFIGURE_ARGS+=--with-mysql=${LOCALBASE}
.endif
.if defined(WITH_ODBC)
LIB_DEPENDS+= odbc.1:${PORTSDIR}/databases/unixODBC
-CONFIGURE_ARGS+=--with-unixodbc-includes=${LOCALBASE}/include \
- --with-unixodbc-libraries=${LOCALBASE}/lib
+CONFIGURE_ARGS+=--with-odbc=${LOCALBASE}
LDFLAGS+= ${PTHREAD_LIBS}
.endif
.if defined(WITH_POSTGRES)
-LIB_DEPENDS+= pq.2:${PORTSDIR}/databases/postgresql
-CONFIGURE_ARGS+=--with-libpq-includes=${LOCALBASE}/pgsql/include \
- --with-libpq-libraries=${LOCALBASE}/pgsql/lib
+LIB_DEPENDS+= pq.2:${PORTSDIR}/databases/postgresql7
+CONFIGURE_ARGS+=--with-postgresql=${LOCALBASE}/pgsql
.if exists(/usr/lib/libssl.a) && exists(/usr/lib/libcrypto.a)
LDFLAGS+= -lssl -lcrypto
.endif
OpenPOWER on IntegriCloud