From: Michael Orlitzky Date: Mon, 12 Jan 2015 19:45:51 +0000 (-0500) Subject: Remove redundant "if use ldap" check. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=8c5acfdcc2e0e5328930289750414b677048e097;p=mjo-overlay.git Remove redundant "if use ldap" check. --- diff --git a/dev-lang/php/php-5.6.4-r1.ebuild b/dev-lang/php/php-5.6.4-r1.ebuild index e8cfae0..371a080 100644 --- a/dev-lang/php/php-5.6.4-r1.ebuild +++ b/dev-lang/php/php-5.6.4-r1.ebuild @@ -363,6 +363,8 @@ src_configure() { $(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 mhash mhash "${EPREFIX}"/usr) $(use_with mssql mssql "${EPREFIX}"/usr) $(use_with nls gettext "${EPREFIX}"/usr) @@ -438,13 +440,6 @@ src_configure() { my_conf+="$(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)" - fi - # MySQL support local mysqllib="mysqlnd" local mysqlilib="mysqlnd"