commit: 0d0600e7964554d89843666b8315c16e9ac99e3b Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> AuthorDate: Sat Oct 31 00:48:17 2015 +0000 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> CommitDate: Sat Oct 31 02:21:40 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d0600e7
dev-lang/php: remove redundant "if use firebird" 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 dev-lang/php/php-5.6.15.ebuild | 7 ++----- dev-lang/php/php-7.0.0_rc5.ebuild | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/dev-lang/php/php-5.6.15.ebuild b/dev-lang/php/php-5.6.15.ebuild index 2b0ca18..43c6335 100644 --- a/dev-lang/php/php-5.6.15.ebuild +++ b/dev-lang/php/php-5.6.15.ebuild @@ -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 diff --git a/dev-lang/php/php-7.0.0_rc5.ebuild b/dev-lang/php/php-7.0.0_rc5.ebuild index 37a3015..12bfcee 100644 --- a/dev-lang/php/php-7.0.0_rc5.ebuild +++ b/dev-lang/php/php-7.0.0_rc5.ebuild @@ -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