aboutsummaryrefslogtreecommitdiff
path: root/www/drupal/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/drupal/Makefile')
-rw-r--r--www/drupal/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/www/drupal/Makefile b/www/drupal/Makefile
index 730609f54817..a4b5e06e7164 100644
--- a/www/drupal/Makefile
+++ b/www/drupal/Makefile
@@ -31,9 +31,7 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
.include <bsd.port.pre.mk>
.if defined(WITH_MYSQL)
-# XXX: should be "USE_PHP+=mysql", but the depends are added too early
-# by bsd.php.mk
-RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/mysql.so:${PORTSDIR}/${mysql_DEPENDS}
+USE_PHP+= mysql
.endif
.if defined(WITH_PGSQL)
RUN_DEPENDS+= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB