diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2007-03-06 06:54:19 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2007-03-06 06:54:19 +0000 |
commit | be4c6448a890a12891a93bbc158a66ec4e868e79 (patch) | |
tree | 8cbaf74b97ffda20f53930215deea45720b020a0 /www/drupal6 | |
parent | 153a5ec176dc0b1a86f0eddd7cfb0ee8009b6c1f (diff) |
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
Notes
Notes:
svn path=/head/; revision=186641
Diffstat (limited to 'www/drupal6')
-rw-r--r-- | www/drupal6/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
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 <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 |