1 |
commit: 19f4690494e4d8e38a0d555f589ccc55392edcad |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 31 01:00:24 2015 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 31 02:21:42 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19f46904 |
7 |
|
8 |
dev-lang/php: remove redundant "if use oci8-instant-client" check. |
9 |
|
10 |
The use_with function doesn't do anything if its USE flag is disabled, |
11 |
so there's no reason to wrap use_with in "if use...". |
12 |
|
13 |
Gentoo-Bug: 551526 |
14 |
|
15 |
Package-Manager: portage-2.2.20.1 |
16 |
|
17 |
dev-lang/php/php-5.6.15.ebuild | 6 ++---- |
18 |
dev-lang/php/php-7.0.0_rc5.ebuild | 6 ++---- |
19 |
2 files changed, 4 insertions(+), 8 deletions(-) |
20 |
|
21 |
diff --git a/dev-lang/php/php-5.6.15.ebuild b/dev-lang/php/php-5.6.15.ebuild |
22 |
index dd6915c..3f663ec 100644 |
23 |
--- a/dev-lang/php/php-5.6.15.ebuild |
24 |
+++ b/dev-lang/php/php-5.6.15.ebuild |
25 |
@@ -468,10 +468,8 @@ src_configure() { |
26 |
$(use_with iodbc iodbc ${EPREFIX}/usr)" |
27 |
|
28 |
# Oracle support |
29 |
- if use oci8-instant-client ; then |
30 |
- my_conf+=" |
31 |
- $(use_with oci8-instant-client oci8)" |
32 |
- fi |
33 |
+ my_conf+=" |
34 |
+ $(use_with oci8-instant-client oci8)" |
35 |
|
36 |
# PDO support |
37 |
if use pdo ; then |
38 |
|
39 |
diff --git a/dev-lang/php/php-7.0.0_rc5.ebuild b/dev-lang/php/php-7.0.0_rc5.ebuild |
40 |
index f0e475a..8043ddf 100644 |
41 |
--- a/dev-lang/php/php-7.0.0_rc5.ebuild |
42 |
+++ b/dev-lang/php/php-7.0.0_rc5.ebuild |
43 |
@@ -445,10 +445,8 @@ src_configure() { |
44 |
$(use_with iodbc iodbc ${EPREFIX}/usr)" |
45 |
|
46 |
# Oracle support |
47 |
- if use oci8-instant-client ; then |
48 |
- my_conf+=" |
49 |
- $(use_with oci8-instant-client oci8)" |
50 |
- fi |
51 |
+ my_conf+=" |
52 |
+ $(use_with oci8-instant-client oci8)" |
53 |
|
54 |
# PDO support |
55 |
if use pdo ; then |