dev-lang/php: revision the 5.6 and 7.0 series to add pdo-firebird support.
authorMichael Orlitzky <mjo@gentoo.org>
Mon, 25 Jan 2016 05:02:44 +0000 (00:02 -0500)
committerMichael Orlitzky <mjo@gentoo.org>
Mon, 25 Jan 2016 05:03:18 +0000 (00:03 -0500)
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-r2.ebuild [moved from dev-lang/php/php-5.6.17-r1.ebuild with 99% similarity]
dev-lang/php/php-7.0.2-r2.ebuild [moved from dev-lang/php/php-7.0.2-r1.ebuild with 99% similarity]

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 8addecce213e5b7c66f85940c1724816c12803af..df8096ca6faf37c72dd3140147b299824a56a4ef 100644 (file)
@@ -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)
                )
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 45daa6d4c509a5fb5da7dcc896273640b65430da..6ecf27ac71eefd6a9bf79b6d72a3f381abf7c71f 100644 (file)
@@ -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)
                )