Date: Wed, 17 Dec 2008 00:01:28 GMT From: Till Klampaeckel <till@php.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/129698: Updates to the zend-framework Makefile Message-ID: <200812170001.mBH01Smc057896@www.freebsd.org> Resent-Message-ID: <200812170010.mBH0A1Sq057740@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 129698 >Category: ports >Synopsis: Updates to the zend-framework Makefile >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Dec 17 00:10:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Till Klampaeckel >Release: 6.3-STABLE >Organization: n/a >Environment: n/a >Description: Remove pcre from deps as it was moved to the lang/php5 and is (finally) included in the base php install. Furthermore, I added support for mysqli as there is support in Zend_Db for it and some people might want to take advantage of the faster Mysql driver in PHP. Patch to the Makefile is included below. >How-To-Repeat: >Fix: --- Makefile 2008-11-21 19:01:22.000000000 +0100 +++ Makefile.zf 2008-12-17 00:35:53.000000000 +0100 @@ -14,7 +14,7 @@ MAINTAINER= glarkin@FreeBSD.org COMMENT= A framework for developing PHP web applications NO_BUILD= yes -USE_PHP= pcre spl +USE_PHP= spl WANT_PHP_WEB= yes USE_GETTEXT= yes @@ -24,6 +24,7 @@ OPTIONS= \ EDOJO "Install embedded Dojo" On \ PDOJO "Install Dojo from ports" Off \ MYSQL "Install MySQL PDO support" Off \ + MYSQLI "Install MySQLi support" Off \ DBLIB "Install DBLIB PDO support" Off \ PGSQL "Install PostgreSQL PDO support" Off \ OCI "Install Oracle OCI 8 PDO support" Off \ @@ -78,6 +79,10 @@ USE_PHP+= bcmath bitset json posix USE_PHP+= pdo_mysql .endif +.if defined(WITH_MYSQLI) +USE_PHP+= mysqli +.endif + .if defined(WITH_DBLIB) RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_dblib.so:${PORTSDIR}/databases/php5-pdo_dblib .endif >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812170001.mBH01Smc057896>