From 8c5acfdcc2e0e5328930289750414b677048e097 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 12 Jan 2015 14:45:51 -0500 Subject: [PATCH 1/1] Remove redundant "if use ldap" check. --- dev-lang/php/php-5.6.4-r1.ebuild | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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" -- 2.43.2