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=d3a34aa13f1f5a093ed73102a8d8cabd61825086;hp=32fd2bc2dcb9fa80dcc5e26ed1ab0c25af906e76;hb=a220f0aab08ff1c98ddaca8924426cc502076cf6;hpb=8e27aaf2dfffd4611802a566597c7d28b2beb527;ds=sidebyside diff --git a/dev-lang/php/php-5.6.4-r1.ebuild b/dev-lang/php/php-5.6.4-r1.ebuild index 32fd2bc..d3a34aa 100644 --- a/dev-lang/php/php-5.6.4-r1.ebuild +++ b/dev-lang/php/php-5.6.4-r1.ebuild @@ -477,16 +477,15 @@ src_configure() { my_conf+=" $(use_with mysql mysql $mysqllib)" my_conf+=" $(use_with mysqli mysqli $mysqlilib)" - local mysqlsock=" $(use_with mysql mysql-sock ${EPREFIX}/var/run/mysqld/mysqld.sock)" - if use mysql ; then - my_conf+="${mysqlsock}" - elif use mysqli ; then - my_conf+="${mysqlsock}" - fi - # MySQL PDO support my_conf+=" $(use_with pdo-mysql pdo-mysql ${mysqllib})" + # If MySQL is enabled in any way, pass --with-mysql-sock to ./configure. + local mysqlsock="${EPREFIX}/var/run/mysqld/mysqld.sock" + my_conf+=" $(use_with mysql mysql-sock $mysqlsock)" + my_conf+=" $(use_with mysqli mysql-sock $mysqlsock)" + my_conf+=" $(use_with pdo-mysql mysql-sock $mysqlsock)" + # Session support if use session ; then my_conf+="