aboutsummaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd24
diff options
context:
space:
mode:
Diffstat (limited to 'mail/cyrus-imapd24')
-rw-r--r--mail/cyrus-imapd24/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/cyrus-imapd24/Makefile b/mail/cyrus-imapd24/Makefile
index c39b44d19edf..03e4e369abef 100644
--- a/mail/cyrus-imapd24/Makefile
+++ b/mail/cyrus-imapd24/Makefile
@@ -88,7 +88,9 @@ PLIST_SUB+= IDLED="@comment "
.if defined(WITH_MYSQL)
USE_MYSQL= yes
-CONFIGURE_ARGS+=--with-mysql=${LOCALBASE}
+CONFIGURE_ARGS+=--with-mysql=yes \
+ --with-mysql-libdir=${LOCALBASE}/lib/mysql \
+ --with-mysql-incdir=${LOCALBASE}/include/mysql
.endif
.if defined(WITH_PGSQL)