aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-06-01 13:14:56 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-06-01 13:14:56 +0000
commit3c03e67b0281514e13a876d404e01e3ec42c69f7 (patch)
tree90f87bdf7fc114b9f902d4ecdb56a2e5b67f2b54 /www
parent34b9a27c657119666f0431b1325902b5f7f6b932 (diff)
downloadports-3c03e67b0281514e13a876d404e01e3ec42c69f7.tar.gz
ports-3c03e67b0281514e13a876d404e01e3ec42c69f7.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/rnews/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/rnews/Makefile b/www/rnews/Makefile
index 0e3b6b6d474d..0eddc97a03cd 100644
--- a/www/rnews/Makefile
+++ b/www/rnews/Makefile
@@ -23,14 +23,15 @@ MYSQLSERVER_DESC= Use MySQL-Server on localhost
.include <bsd.port.options.mk>
USE_PHP= mysql mbstring pcre xml iconv
-USE_MYSQL= yes
.if ${PORT_OPTIONS:MGD}
USE_PHP+= gd
.endif
.if ${PORT_OPTIONS:MMYSQLSERVER}
-RUN_DEPENDS+= ${LOCALBASE}/libexec/mysqld:databases/mysql${MYSQL_VER}-server
+USES+= mysql:client,server
+.else
+USES+= mysql
.endif
RUN_DEPENDS+= curl:ftp/curl