commit:     0d97903e14721b3bb2844db998fd1ce3d17b1cda
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 25 05:02:44 2016 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Mon Jan 25 05:03:18 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d97903e

dev-lang/php: revision the 5.6 and 7.0 series to add pdo-firebird support.

PHP has two Firebird drivers -- the legacy "interbase" driver and the
new pdo-firebird driver. We have always supported the legacy driver
with USE=firebird, but were missing the pdo-firebird configure flag
when USE="pdo firebird" was set. Similar tricks were in place for
e.g. sqlite and oci8, but Firebird was forgotten.

Dmitry A. Bakshaev was nice enough to point this out in bug 538226,
and even supplied a patch. Testing shows that both drivers work in
php:5.6, but that only the PDO driver works in php:7.0. That's not
a regression; this commit adds the only driver that works in php:7.0.

Gentoo-Bug: 538226
Suggested-By: Dmitry A. Bakshaev

Package-Manager: portage-2.2.26

 dev-lang/php/{php-5.6.17-r1.ebuild => php-5.6.17-r2.ebuild} | 1 +
 dev-lang/php/{php-7.0.2-r1.ebuild => php-7.0.2-r2.ebuild}   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dev-lang/php/php-5.6.17-r1.ebuild 
b/dev-lang/php/php-5.6.17-r2.ebuild
similarity index 99%
rename from dev-lang/php/php-5.6.17-r1.ebuild
rename to dev-lang/php/php-5.6.17-r2.ebuild
index 8addecc..df8096c 100644
--- a/dev-lang/php/php-5.6.17-r1.ebuild
+++ b/dev-lang/php/php-5.6.17-r2.ebuild
@@ -476,6 +476,7 @@ src_configure() {
                        $(use_with mysql pdo-mysql "${mysqllib}")
                        $(use_with postgres pdo-pgsql)
                        $(use_with sqlite pdo-sqlite "${EPREFIX}/usr")
+                       $(use_with firebird pdo-firebird "${EPREFIX}/usr")
                        $(use_with odbc pdo-odbc "unixODBC,${EPREFIX}/usr")
                        $(use_with oci8-instant-client pdo-oci)
                )

diff --git a/dev-lang/php/php-7.0.2-r1.ebuild b/dev-lang/php/php-7.0.2-r2.ebuild
similarity index 99%
rename from dev-lang/php/php-7.0.2-r1.ebuild
rename to dev-lang/php/php-7.0.2-r2.ebuild
index 45daa6d..6ecf27a 100644
--- a/dev-lang/php/php-7.0.2-r1.ebuild
+++ b/dev-lang/php/php-7.0.2-r2.ebuild
@@ -465,6 +465,7 @@ src_configure() {
                        $(use_with mysql pdo-mysql "${mysqllib}")
                        $(use_with postgres pdo-pgsql)
                        $(use_with sqlite pdo-sqlite "${EPREFIX}/usr")
+                       $(use_with firebird pdo-firebird "${EPREFIX}/usr")
                        $(use_with odbc pdo-odbc "unixODBC,${EPREFIX}/usr")
                        $(use_with oci8-instant-client pdo-oci)
                )

Reply via email to