From: Michael Orlitzky Date: Mon, 12 Jan 2015 20:04:00 +0000 (-0500) Subject: Add the pdo-mysql USE flag. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=a6b890046cd56f52b35727418a3876b7194d5920;p=mjo-overlay.git Add the pdo-mysql USE flag. --- diff --git a/dev-lang/php/metadata.xml b/dev-lang/php/metadata.xml index ff6b6d4..4bc8839 100644 --- a/dev-lang/php/metadata.xml +++ b/dev-lang/php/metadata.xml @@ -21,6 +21,7 @@ Enable the DBLIB (MSSQL) PDO driver Enable the Oracle PDO driver Enable the ODBC PDO driver + Enable the MySQL PDO driver Enable the PostgreSQL PDO driver Enable the SQLite PDO driver Enables the phar extension to provide phar archive support diff --git a/dev-lang/php/php-5.6.4-r1.ebuild b/dev-lang/php/php-5.6.4-r1.ebuild index 13728e1..004aae4 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-oci pdo-odbc - pdo-pgsql pdo-sqlite+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,12 +175,13 @@ REQUIRED_USE=" libmysqlclient? ( || ( mysql mysqli - pdo + pdo-mysql ) ) pdo-dblib? ( mssql ) pdo-oci? ( oci8-instant-client ) pdo-odbc? ( odbc ) + pdo-mysql? ( mysql ) pdo-pgsql? ( postgres ) pdo-sqlite? ( sqlite ) qdbm? ( !gdbm ) @@ -468,10 +469,8 @@ src_configure() { my_conf+="${mysqlsock}" fi - # PDO support - if use pdo ; then - my_conf+="$(use_with mysql pdo-mysql ${mysqllib})" - fi + # MySQL PDO support + my_conf+="$(use_with pdo-mysql pdo-mysql ${mysqllib})" # Session support if use session ; then