summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-04-06 01:31:42 +0000
committeredwin <edwin@FreeBSD.org>2003-04-06 01:31:42 +0000
commit29f01eca70fb86267b1810cb69d54c13a3e2c425 (patch)
tree32e0e4c24b9ba82a0543dc7f189045b31f84313d /www
parent3930223a16ab2eb5b7fead63396d3d7131a15827 (diff)
downloadFreeBSD-ports-29f01eca70fb86267b1810cb69d54c13a3e2c425.zip
FreeBSD-ports-29f01eca70fb86267b1810cb69d54c13a3e2c425.tar.gz
[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')
-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 ca22a2b..6ace2f4 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)
OpenPOWER on IntegriCloud