dev-lang/php: remove second redundant "if use oci8-instant-client" check.
authorMichael Orlitzky <mjo@gentoo.org>
Sat, 31 Oct 2015 01:06:46 +0000 (21:06 -0400)
committerMichael Orlitzky <mjo@gentoo.org>
Sat, 31 Oct 2015 02:21:42 +0000 (22:21 -0400)
This fixes the same issue as 7c05e6f, but in another spot in the ebuild.

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 3f663ec5d28cb83b62be3d3fe46e86901a5070af..7fc954ce6577c520f974fadf223af98e06b298e1 100644 (file)
@@ -478,11 +478,8 @@ src_configure() {
                $(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
+               $(use_with odbc pdo-odbc unixODBC,${EPREFIX}/usr)
+               $(use_with oci8-instant-client pdo-oci)"
        fi
 
        # readline/libedit support
index 8043ddf17b06c547cef83d31fed4129a1f8e339c..41ebf46c0f1f15377240effdd74c5bd0cfc90a10 100644 (file)
@@ -454,11 +454,8 @@ src_configure() {
                $(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
+               $(use_with odbc pdo-odbc unixODBC,${EPREFIX}/usr)
+               $(use_with oci8-instant-client pdo-oci)"
        fi
 
        # readline/libedit support