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
This commit is contained in:
Michael Orlitzky
2015-10-30 22:21:41 -04:00
parent 0d0600e796
commit 594654d60d
2 changed files with 4 additions and 8 deletions
+2 -4
View File
@@ -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+="
+2 -4
View File
@@ -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+="