From: Michael Orlitzky Date: Sat, 31 Oct 2015 00:51:16 +0000 (-0400) Subject: dev-lang/php: remove redundant "if use odbc" check. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=594654d60dffccc3bc6bacbe1e02aeaf976ecb9d;p=gentoo.git dev-lang/php: remove redundant "if use odbc" check. 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 --- diff --git a/dev-lang/php/php-5.6.15.ebuild b/dev-lang/php/php-5.6.15.ebuild index 43c63358dfd4..b886802fc3d3 100644 --- a/dev-lang/php/php-5.6.15.ebuild +++ b/dev-lang/php/php-5.6.15.ebuild @@ -463,10 +463,8 @@ src_configure() { fi # ODBC support - if use odbc ; then - my_conf+=" - $(use_with odbc unixODBC ${EPREFIX}/usr)" - fi + my_conf+=" + $(use_with odbc unixODBC ${EPREFIX}/usr)" if use iodbc ; then my_conf+=" diff --git a/dev-lang/php/php-7.0.0_rc5.ebuild b/dev-lang/php/php-7.0.0_rc5.ebuild index 12bfcee2595e..481989304c68 100644 --- a/dev-lang/php/php-7.0.0_rc5.ebuild +++ b/dev-lang/php/php-7.0.0_rc5.ebuild @@ -440,10 +440,8 @@ src_configure() { fi # ODBC support - if use odbc ; then - my_conf+=" - $(use_with odbc unixODBC ${EPREFIX}/usr)" - fi + my_conf+=" + $(use_with odbc unixODBC ${EPREFIX}/usr)" if use iodbc ; then my_conf+="