package/php: needs pcre2
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 27 Dec 2020 18:31:45 +0000 (19:31 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 2 Jan 2021 21:07:40 +0000 (22:07 +0100)
commitfabb1243ab02dbeb6677a74e02a71b3d05b66f3a
tree95ea8576c107d8ea4d7ebe2233efc8dc895a8dc0
parent3f47775c266cd5d5d352ebe5948a8fd932be7031
package/php: needs pcre2

Since 2008 pcre is a hard-dependency of php:
https://github.com/php/php-src/commit/aa64c6727c2d33a647bdbd9769215044f7cf2967

Instead of optionally depending on the pcre2 package and building the
bundled pcre2 code of php in case BR2_PACKAGE_PCRE2 was not selected
we let php depend on pcre2.

While being at it rename the pcre-related configure option due to
upstream commit:
https://github.com/php/php-src/commit/c1a22f3d4e69cb87f8deeed7d03d9434e6901537

Fixes:
http://autobuild.buildroot.net/results/4a5/4a582af6b66c59a61b75a7047d8530202972ebdd/
because the pcre2 package already contains the fix for mips r6.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr: keep the JIT option]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/php/Config.in
package/php/php.mk