aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/mod_mp3/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/mod_mp3/Makefile b/www/mod_mp3/Makefile
index ca22a2b5e30b..6ace2f4e7907 100644
--- a/www/mod_mp3/Makefile
+++ b/www/mod_mp3/Makefile
@@ -26,6 +26,11 @@ APXS?= ${LOCALBASE}/sbin/apxs
APACHE_PORT?= ${PORTSDIR}/www/apache13
DOCS= ChangeLog README TODO faq.html
+.if defined(WITH_MYSQL)
+LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
+CONFIGURE_ARGS+= --with-mysql
+.endif
+
do-install:
${APXS} -i -A -n mp3 ${WRKSRC}/src/mod_mp3.so
.if !defined(NOPORTDOCS)