aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_mp3
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-04-06 09:31:42 +0800
committeredwin <edwin@FreeBSD.org>2003-04-06 09:31:42 +0800
commit29f01eca70fb86267b1810cb69d54c13a3e2c425 (patch)
tree32e0e4c24b9ba82a0543dc7f189045b31f84313d /www/mod_mp3
parent3930223a16ab2eb5b7fead63396d3d7131a15827 (diff)
downloadfreebsd-ports-gnome-29f01eca70fb86267b1810cb69d54c13a3e2c425.tar.gz
freebsd-ports-gnome-29f01eca70fb86267b1810cb69d54c13a3e2c425.tar.zst
freebsd-ports-gnome-29f01eca70fb86267b1810cb69d54c13a3e2c425.zip
[PATCH] Addition of mysql-awareness to mod_mp3 port Makefile
mod_mp3 has support for storing the file lists within MySQL, but the port is not currently able to take advantage of this. PR: ports/39312 Submitted by: "Kelly Cochran" <kcochran@trolans.net>
Diffstat (limited to 'www/mod_mp3')
-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)