From 19f4690494e4d8e38a0d555f589ccc55392edcad Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 30 Oct 2015 21:00:24 -0400 Subject: [PATCH] dev-lang/php: remove redundant "if use oci8-instant-client" 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 | 6 ++---- dev-lang/php/php-7.0.0_rc5.ebuild | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/dev-lang/php/php-5.6.15.ebuild b/dev-lang/php/php-5.6.15.ebuild index dd6915cc5b3b7..3f663ec5d28cb 100644 --- a/dev-lang/php/php-5.6.15.ebuild +++ b/dev-lang/php/php-5.6.15.ebuild @@ -468,10 +468,8 @@ src_configure() { $(use_with iodbc iodbc ${EPREFIX}/usr)" # Oracle support - if use oci8-instant-client ; then - my_conf+=" - $(use_with oci8-instant-client oci8)" - fi + my_conf+=" + $(use_with oci8-instant-client oci8)" # PDO support if use pdo ; then diff --git a/dev-lang/php/php-7.0.0_rc5.ebuild b/dev-lang/php/php-7.0.0_rc5.ebuild index f0e475acbe947..8043ddf17b06c 100644 --- a/dev-lang/php/php-7.0.0_rc5.ebuild +++ b/dev-lang/php/php-7.0.0_rc5.ebuild @@ -445,10 +445,8 @@ src_configure() { $(use_with iodbc iodbc ${EPREFIX}/usr)" # Oracle support - if use oci8-instant-client ; then - my_conf+=" - $(use_with oci8-instant-client oci8)" - fi + my_conf+=" + $(use_with oci8-instant-client oci8)" # PDO support if use pdo ; then