From 144d68c6e6f6189d13ff54c84b1b9055aa8087da Mon Sep 17 00:00:00 2001 From: linimon Date: Tue, 6 Mar 2007 06:54:19 +0000 Subject: 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 --- www/drupal6/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'www/drupal6') diff --git a/www/drupal6/Makefile b/www/drupal6/Makefile index 730609f54817..a4b5e06e7164 100644 --- a/www/drupal6/Makefile +++ b/www/drupal6/Makefile @@ -31,9 +31,7 @@ PKGMESSAGE= ${WRKDIR}/pkg-message .include .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 -- cgit