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=004aae4aae4466266dbf42a5c7354ef4a98e5d2a;hp=9dfc351b11b63a87283566f912042746be53f79c;hb=a6b890046cd56f52b35727418a3876b7194d5920;hpb=3f4090e21a05ece928af991533c430bd02ef70e5 diff --git a/dev-lang/php/php-5.6.4-r1.ebuild b/dev-lang/php/php-5.6.4-r1.ebuild index 9dfc351..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 +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,9 +175,15 @@ 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 ) readline? ( !libedit ) recode? ( !imap !mysql !mysqli ) @@ -357,22 +363,33 @@ src_configure() { $(use_with gmp gmp "${EPREFIX}"/usr) $(use_enable hash hash ) $(use_with iconv iconv $(use elibc_glibc || echo "${EPREFIX}"/usr)) + $(use_with imap imap "${EPREFIX}"/usr) $(use_enable intl intl ) $(use_with iodbc iodbc "${EPREFIX}"/usr) $(use_enable ipv6 ipv6 ) $(use_enable json json ) $(use_with kerberos kerberos "${EPREFIX}"/usr) + $(use_with ldap ldap "${EPREFIX}"/usr) + $(use_with ldap-sasl ldap-sasl "${EPREFIX}"/usr) + $(use_with libedit libedit "${EPREFIX}"/usr) $(use_with mhash mhash "${EPREFIX}"/usr) $(use_with mssql mssql "${EPREFIX}"/usr) $(use_with nls gettext "${EPREFIX}"/usr) + $(use_with oci8-instant-client oci8) $(use_with odbc unixODBC "${EPREFIX}"/usr) $(use_enable opcache opcache ) $(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) $(use_with spell pspell "${EPREFIX}"/usr) + $(use_with readline readline "${EPREFIX}"/usr) $(use_with recode recode "${EPREFIX}"/usr) $(use_enable sharedmem shmop ) $(use_enable simplexml simplexml ) @@ -431,18 +448,9 @@ src_configure() { my_conf+=" $(use_with gd gd)" - # IMAP support + # IMAP SSL support if use imap ; then - my_conf+=" - $(use_with imap imap ${EPREFIX}/usr) - $(use_with ssl imap-ssl ${EPREFIX}/usr)" - fi - - # LDAP support - if use ldap ; then - my_conf+=" - $(use_with ldap ldap ${EPREFIX}/usr) - $(use_with ldap-sasl ldap-sasl ${EPREFIX}/usr)" + my_conf+="$(use_with ssl imap-ssl ${EPREFIX}/usr)" fi # MySQL support @@ -461,30 +469,8 @@ src_configure() { my_conf+="${mysqlsock}" fi - # Oracle support - if use oci8-instant-client ; then - my_conf+=" - $(use_with oci8-instant-client oci8)" - fi - - # PDO support - if use pdo ; then - my_conf+=" - $(use_with mssql pdo-dblib ) - $(use_with mysql pdo-mysql ${mysqllib}) - $(use_with postgres pdo-pgsql ) - $(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 - - # readline/libedit support - my_conf+=" - $(use_with readline readline ${EPREFIX}/usr) - $(use_with libedit libedit ${EPREFIX}/usr)" + # MySQL PDO support + my_conf+="$(use_with pdo-mysql pdo-mysql ${mysqllib})" # Session support if use session ; then