dev-lang/php: new 5.6 and 7.0 revisions with bison dependencies.
authorMichael Orlitzky <mjo@gentoo.org>
Fri, 30 Sep 2016 14:22:37 +0000 (10:22 -0400)
committerMichael Orlitzky <mjo@gentoo.org>
Fri, 30 Sep 2016 15:05:12 +0000 (11:05 -0400)
commit523dcfa9e646dacf81f8e43bb9f1262bff211473
treea739a68a2d34396048f19b54487a78208aa2a01c
parentdd1e1faf14f5459104d2f0f2e1f764f65f50afd0
dev-lang/php: new 5.6 and 7.0 revisions with bison dependencies.

The PHP build system checks for the presence of bison (even if it will
not be needed), and it emits a warning if an appropriate version is
not found. In the 7.0.x series, this is easy to address by simply
adding a newish version of bison to DEPEND.

In the 5.6.x series, however, there is a bug in the bison version
check. A warning is emitted even when a suitable version of bison
(>= 3.0.1) is present on the system. So in that series, we have added
>=sys-devel/bison-3.0.1 to DEPEND, but also added a new patch. The
patch disables the buggy bison version check, eliminating the
warning. There should be no danger in doing so now that a newer bison
is in DEPEND.

Gentoo-Bug: 593278

Package-Manager: portage-2.3.0
dev-lang/php/files/php-5.6-no-bison-warnings.patch [new file with mode: 0644]
dev-lang/php/php-5.6.26-r1.ebuild [new file with mode: 0644]
dev-lang/php/php-7.0.11-r1.ebuild [moved from dev-lang/php/php-7.0.11.ebuild with 99% similarity]