commit: 685ee720dc8485bdfa3e513daa5b5b8f07d047d0
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 9 00:35:40 2016 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Fri Dec 9 04:34:41 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=685ee720
dev-lang/php: allow app-text/htmltidy in php:7.1.
To help phase out the abandoned and buggy app-text/htmltidy, I tried
to make the new php:7.1 depend on app-text/tidy-html5
instead. However, since older versions of PHP do not support
tidy-html5, that causes a problem: php:7.1 cannot be installed
alongside the older versions when USE=tidy is set for both of them.
This solution is somewhat of a cop out, allowing htmltidy to be used
in php:7.1 as a last resort. The alternative would have been to
backport the tidy-html5 support to (both) older versions of PHP. That
may eventually become necessary if it looks like htmltidy will be
masked for removal; however, for now, this is the path of least
resistance.
Gentoo-Bug: 601614
Package-Manager: portage-2.3.0
dev-lang/php/{php-7.1.0-r1.ebuild => php-7.1.0-r2.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/php/php-7.1.0-r1.ebuild b/dev-lang/php/php-7.1.0-r2.ebuild
similarity index 99%
rename from dev-lang/php/php-7.1.0-r1.ebuild
rename to dev-lang/php/php-7.1.0-r2.ebuild
index bd32aea..d0298d2 100644
--- a/dev-lang/php/php-7.1.0-r1.ebuild
+++ b/dev-lang/php/php-7.1.0-r2.ebuild
@@ -101,7 +101,7 @@ COMMON_DEPEND="
!libressl? ( dev-libs/openssl:0 )
libressl? ( dev-libs/libressl )
)
- tidy? ( app-text/tidy-html5 )
+ tidy? ( || ( app-text/tidy-html5 app-text/htmltidy ) )
truetype? (
=media-libs/freetype-2*
!gd? (