diff options
Diffstat (limited to 'www/zend-framework')
-rw-r--r-- | www/zend-framework/Makefile | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/www/zend-framework/Makefile b/www/zend-framework/Makefile index 5395cb8054f8..fd3a3d599298 100644 --- a/www/zend-framework/Makefile +++ b/www/zend-framework/Makefile @@ -17,6 +17,7 @@ COMMENT= A framework for developing PHP web applications NO_BUILD= yes USE_PHP= pcre WANT_PHP_WEB= yes +IGNORE_WITH_PHP=4 USE_GETTEXT= yes @@ -34,9 +35,6 @@ OPTIONS= MYSQL "Install MySQL PDO support" Off \ .include <bsd.port.pre.mk> -DEFAULT_PHP_VER=5 -IGNORE_WITH_PHP=4 - DB_DEFINED= no .if defined(WITH_MYSQL) @@ -70,13 +68,10 @@ DB_DEFINED= yes .endif .if ${DB_DEFINED} == "yes" -RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo.so:${PORTSDIR}/databases/php5-pdo \ - ${DB_DEPENDS} +USE_PHP+= pdo +RUN_DEPENDS+= ${DB_DEPENDS} .endif -# Fix USE_PHP after bsd.port.pre.mk -.include "${PORTSDIR}/Mk/bsd.php.mk" - do-install: @${MKDIR} ${DATADIR} ${CP} -R ${WRKSRC}/* ${DATADIR} |