From 74ec204a022e4126ca35008c0c27d13645d8ca27 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Thu, 5 Nov 2015 09:09:53 -0500 Subject: [PATCH] dev-lang/php: don't depend on versions of sys-libs/db that won't be detected. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In bug #564824, Robert Förster noticed that there's an issue building PHP with both sys-libs/db-5.3 and sys-libs/db-6.0 installed. The root cause of the failure is that PHP attempts to autodetect sys-libs/db, but doesn't specifically look for db-5.3. When db-5.3 is not found, it falls back to /usr/include/db.h from version 6.0 and that version is incompatible. A similar issue exists with older 4.x versions, but not with db-4.5 through db-5.1. A fix has been sent upstream for db-5.3. In the meantime, we remove that and the older 4.x versions from $DEPEND. Gentoo-Bug: 564824 Package-Manager: portage-2.2.20.1 --- ...php-5.6.15-r1.ebuild => php-5.6.15-r2.ebuild} | 16 +++++----------- ...-7.0.0_rc6.ebuild => php-7.0.0_rc6-r1.ebuild} | 16 +++++----------- 2 files changed, 10 insertions(+), 22 deletions(-) rename dev-lang/php/{php-5.6.15-r1.ebuild => php-5.6.15-r2.ebuild} (97%) rename dev-lang/php/{php-7.0.0_rc6.ebuild => php-7.0.0_rc6-r1.ebuild} (97%) diff --git a/dev-lang/php/php-5.6.15-r1.ebuild b/dev-lang/php/php-5.6.15-r2.ebuild similarity index 97% rename from dev-lang/php/php-5.6.15-r1.ebuild rename to dev-lang/php/php-5.6.15-r2.ebuild index 726c56adaee8b..434d12758758f 100644 --- a/dev-lang/php/php-5.6.15-r1.ebuild +++ b/dev-lang/php/php-5.6.15-r2.ebuild @@ -81,21 +81,15 @@ DEPEND=" apache2? ( || ( >=www-servers/apache-2.4[apache2_modules_unixd,threads=] =www-servers/apache-2.4[apache2_modules_unixd,threads=]