1 |
commit: 0d97903e14721b3bb2844db998fd1ce3d17b1cda |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 25 05:02:44 2016 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 25 05:03:18 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d97903e |
7 |
|
8 |
dev-lang/php: revision the 5.6 and 7.0 series to add pdo-firebird support. |
9 |
|
10 |
PHP has two Firebird drivers -- the legacy "interbase" driver and the |
11 |
new pdo-firebird driver. We have always supported the legacy driver |
12 |
with USE=firebird, but were missing the pdo-firebird configure flag |
13 |
when USE="pdo firebird" was set. Similar tricks were in place for |
14 |
e.g. sqlite and oci8, but Firebird was forgotten. |
15 |
|
16 |
Dmitry A. Bakshaev was nice enough to point this out in bug 538226, |
17 |
and even supplied a patch. Testing shows that both drivers work in |
18 |
php:5.6, but that only the PDO driver works in php:7.0. That's not |
19 |
a regression; this commit adds the only driver that works in php:7.0. |
20 |
|
21 |
Gentoo-Bug: 538226 |
22 |
Suggested-By: Dmitry A. Bakshaev |
23 |
|
24 |
Package-Manager: portage-2.2.26 |
25 |
|
26 |
dev-lang/php/{php-5.6.17-r1.ebuild => php-5.6.17-r2.ebuild} | 1 + |
27 |
dev-lang/php/{php-7.0.2-r1.ebuild => php-7.0.2-r2.ebuild} | 1 + |
28 |
2 files changed, 2 insertions(+) |
29 |
|
30 |
diff --git a/dev-lang/php/php-5.6.17-r1.ebuild b/dev-lang/php/php-5.6.17-r2.ebuild |
31 |
similarity index 99% |
32 |
rename from dev-lang/php/php-5.6.17-r1.ebuild |
33 |
rename to dev-lang/php/php-5.6.17-r2.ebuild |
34 |
index 8addecc..df8096c 100644 |
35 |
--- a/dev-lang/php/php-5.6.17-r1.ebuild |
36 |
+++ b/dev-lang/php/php-5.6.17-r2.ebuild |
37 |
@@ -476,6 +476,7 @@ src_configure() { |
38 |
$(use_with mysql pdo-mysql "${mysqllib}") |
39 |
$(use_with postgres pdo-pgsql) |
40 |
$(use_with sqlite pdo-sqlite "${EPREFIX}/usr") |
41 |
+ $(use_with firebird pdo-firebird "${EPREFIX}/usr") |
42 |
$(use_with odbc pdo-odbc "unixODBC,${EPREFIX}/usr") |
43 |
$(use_with oci8-instant-client pdo-oci) |
44 |
) |
45 |
|
46 |
diff --git a/dev-lang/php/php-7.0.2-r1.ebuild b/dev-lang/php/php-7.0.2-r2.ebuild |
47 |
similarity index 99% |
48 |
rename from dev-lang/php/php-7.0.2-r1.ebuild |
49 |
rename to dev-lang/php/php-7.0.2-r2.ebuild |
50 |
index 45daa6d..6ecf27a 100644 |
51 |
--- a/dev-lang/php/php-7.0.2-r1.ebuild |
52 |
+++ b/dev-lang/php/php-7.0.2-r2.ebuild |
53 |
@@ -465,6 +465,7 @@ src_configure() { |
54 |
$(use_with mysql pdo-mysql "${mysqllib}") |
55 |
$(use_with postgres pdo-pgsql) |
56 |
$(use_with sqlite pdo-sqlite "${EPREFIX}/usr") |
57 |
+ $(use_with firebird pdo-firebird "${EPREFIX}/usr") |
58 |
$(use_with odbc pdo-odbc "unixODBC,${EPREFIX}/usr") |
59 |
$(use_with oci8-instant-client pdo-oci) |
60 |
) |