X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mjo-overlay.git;a=blobdiff_plain;f=dev-lang%2Fphp%2Fphp-5.6.4-r1.ebuild;h=60dcae9c6f06934b4027edee2f9efa3aa04ccd35;hp=a0e6dae00ee0a68792155f802ccfb72f2783bad7;hb=726b32e41f28c51348ecdb0b962e788159f96c79;hpb=ba8d84360c502e972de82401d80ba3c073741817 diff --git a/dev-lang/php/php-5.6.4-r1.ebuild b/dev-lang/php/php-5.6.4-r1.ebuild index a0e6dae..60dcae9 100644 --- a/dev-lang/php/php-5.6.4-r1.ebuild +++ b/dev-lang/php/php-5.6.4-r1.ebuild @@ -69,9 +69,9 @@ IUSE="${IUSE} bcmath berkdb bzip2 calendar cdb cjk flatfile ftp gd gdbm gmp +hash +iconv imap inifile intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit mhash mssql mysql libmysqlclient mysqli nls - oci8-instant-client odbc +opcache pcntl pdo pdo-dblib pdo-pgsql - +phar +posix postgres qdbm readline recode selinux +session sharedmem - +simplexml snmp soap sockets spell sqlite ssl + oci8-instant-client odbc +opcache pcntl pdo pdo-dblib pdo-mysql pdo-oci + pdo-odbc pdo-pgsql pdo-sqlite +phar +posix postgres qdbm readline recode + selinux +session sharedmem +simplexml snmp soap sockets spell sqlite ssl sybase-ct sysvipc systemd tidy +tokenizer truetype unicode vpx wddx +xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib" @@ -175,11 +175,15 @@ REQUIRED_USE=" libmysqlclient? ( || ( mysql mysqli - pdo + pdo-mysql ) ) - pdo-dblib? ( mssql ) - pdo-pgsql? ( postgres ) + pdo-dblib? ( pdo mssql ) + pdo-oci? ( pdo oci8-instant-client ) + pdo-odbc? ( pdo odbc ) + pdo-mysql? ( pdo mysql ) + pdo-pgsql? ( pdo postgres ) + pdo-sqlite? ( pdo sqlite ) qdbm? ( !gdbm ) readline? ( !libedit ) recode? ( !imap !mysql !mysqli ) @@ -377,7 +381,10 @@ src_configure() { $(use_enable pcntl pcntl ) $(use_enable pdo pdo ) $(use_with pdo-dblib pdo-dblib ) + $(use_with pdo-oci pdo-oci ) + $(use_with pdo-odbc pdo-odbc unixODBC,"${EPREFIX}"/usr) $(use_with pdo-pgsql pdo-pgsql ) + $(use_with pdo-sqlite pdo-sqlite "${EPREFIX}"/usr) $(use_enable phar phar ) $(use_enable posix posix ) $(use_with postgres pgsql "${EPREFIX}"/usr) @@ -462,17 +469,8 @@ src_configure() { my_conf+="${mysqlsock}" fi - # PDO support - if use pdo ; then - my_conf+=" - $(use_with mysql pdo-mysql ${mysqllib}) - $(use_with sqlite pdo-sqlite ${EPREFIX}/usr) - $(use_with odbc pdo-odbc unixODBC,${EPREFIX}/usr)" - if use oci8-instant-client ; then - my_conf+=" - $(use_with oci8-instant-client pdo-oci)" - fi - fi + # MySQL PDO support + my_conf+="$(use_with pdo-mysql pdo-mysql ${mysqllib})" # Session support if use session ; then