aboutsummaryrefslogtreecommitdiffstats
path: root/www/drupal7
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2007-03-06 14:54:19 +0800
committerlinimon <linimon@FreeBSD.org>2007-03-06 14:54:19 +0800
commit144d68c6e6f6189d13ff54c84b1b9055aa8087da (patch)
tree9dfdb42ead5000a9895d96f1ce7060b2d2c23421 /www/drupal7
parentc9f8aacf34bae745915c1c9480ba3f9922f19a67 (diff)
downloadfreebsd-ports-gnome-144d68c6e6f6189d13ff54c84b1b9055aa8087da.tar.gz
freebsd-ports-gnome-144d68c6e6f6189d13ff54c84b1b9055aa8087da.tar.zst
freebsd-ports-gnome-144d68c6e6f6189d13ff54c84b1b9055aa8087da.zip
Use the new facility of bsd.port.mk to be able to simplify the interaction
of USE_PHP and OPTIONS. PR: ports/106557 Submitted by: ale Hat: portmgr
Diffstat (limited to 'www/drupal7')
-rw-r--r--www/drupal7/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/www/drupal7/Makefile b/www/drupal7/Makefile
index 730609f54817..a4b5e06e7164 100644
--- a/www/drupal7/Makefile
+++ b/www/drupal7/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