aboutsummaryrefslogtreecommitdiff
path: root/www/mod_mp3
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-04-06 01:31:42 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-04-06 01:31:42 +0000
commitb69b7934d95d23d6f606b017463a5b7306b64336 (patch)
tree1f8359718eb3805851afa8e6d6a4c3c08a45e18f /www/mod_mp3
parente773c4181eb435c2d3009e03a0bee42e9d6863b3 (diff)
downloadports-b69b7934d95d23d6f606b017463a5b7306b64336.tar.gz
ports-b69b7934d95d23d6f606b017463a5b7306b64336.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>
Notes
Notes: svn path=/head/; revision=78382
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)