aboutsummaryrefslogtreecommitdiffstats
path: root/security/snort
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2001-04-10 18:49:33 +0800
committerdirk <dirk@FreeBSD.org>2001-04-10 18:49:33 +0800
commitb1e973853a6aff8687c1b433e9db8e23b5548655 (patch)
tree5b5adb42cb316c7e04f95277211d052fb0e9c229 /security/snort
parent90b88cf27bf57b5fbd3f770f87f2395fa783f979 (diff)
downloadfreebsd-ports-gnome-b1e973853a6aff8687c1b433e9db8e23b5548655.tar.gz
freebsd-ports-gnome-b1e973853a6aff8687c1b433e9db8e23b5548655.tar.zst
freebsd-ports-gnome-b1e973853a6aff8687c1b433e9db8e23b5548655.zip
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 e52fe63e6577..a330de69d9a9 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