From 0d0600e7964554d89843666b8315c16e9ac99e3b Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 30 Oct 2015 20:48:17 -0400 Subject: [PATCH] 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 2b0ca18203b0..43c63358dfd4 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 37a3015babce..12bfcee2595e 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 -- 2.26.2