dev-lang/php: remove redundant "if use firebird" check.
authorMichael Orlitzky <mjo@gentoo.org>
Sat, 31 Oct 2015 00:48:17 +0000 (20:48 -0400)
committerMichael Orlitzky <mjo@gentoo.org>
Sat, 31 Oct 2015 02:21:40 +0000 (22:21 -0400)
The use_with function doesn't do anything if its USE flag is disabled,
so there's no reason to wrap use_with in "if use...".

Gentoo-Bug: 551526

Package-Manager: portage-2.2.20.1

dev-lang/php/php-5.6.15.ebuild
dev-lang/php/php-7.0.0_rc5.ebuild

index 2b0ca18203b048402046f379040fe367d0772c20..43c63358dfd4121ec04466653f009dad1843214a 100644 (file)
@@ -436,11 +436,8 @@ src_configure() {
        fi
 
        # Interbase/firebird support
-
-       if use firebird ; then
-               my_conf+="
-               $(use_with firebird interbase ${EPREFIX}/usr)"
-       fi
+       my_conf+="
+       $(use_with firebird interbase ${EPREFIX}/usr)"
 
        # LDAP support
        if use ldap ; then
index 37a3015babce65e7e24daadf852dae66bfc93c22..12bfcee2595e26fc2beabc108a071ec75f5b4164 100644 (file)
@@ -416,11 +416,8 @@ src_configure() {
        fi
 
        # Interbase/firebird support
-
-       if use firebird ; then
-               my_conf+="
-               $(use_with firebird interbase ${EPREFIX}/usr)"
-       fi
+       my_conf+="
+       $(use_with firebird interbase ${EPREFIX}/usr)"
 
        # LDAP support
        if use ldap ; then