summaryrefslogtreecommitdiff
path: root/security/cyrus-sasl2
diff options
context:
space:
mode:
Diffstat (limited to 'security/cyrus-sasl2')
-rw-r--r--security/cyrus-sasl2/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile
index 196a5887f9c6..42cec3bda0f8 100644
--- a/security/cyrus-sasl2/Makefile
+++ b/security/cyrus-sasl2/Makefile
@@ -86,12 +86,16 @@ WANT_MYSQL_VER= 323
.if defined(WITH_MYSQL)
USE_MYSQL= YES
CONFIGURE_ARGS+=--with-mysql=${PREFIX}
+.else
+CONFIGURE_ARGS+=--without-mysql
.endif
.if defined(WITH_PGSQL)
POSTGRESQL_PORT?= databases/postgresql-client
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
CONFIGURE_ARGS+=--with-pgsql=${PREFIX}
+.else
+CONFIGURE_ARGS+=--without-pgsql
.endif
.if defined(WITH_MYSQL) || defined(WITH_PGSQL)