php7: fix build with QUILT
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Thu, 25 Feb 2021 22:09:12 +0000 (19:09 -0300)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Fri, 26 Feb 2021 17:07:35 +0000 (18:07 +0100)
commit8d8d71b87daa0656224b9f39e9b84223b6ee2c69
treef29dd3db32f1981aaba9fed7f6b69bab58f36de2
parent6e200ab63243ba2ea64d2bdafaca8c099f4df4f8
php7: fix build with QUILT

When building with QUILT, unlike the regular build, Build/Prepare does
not apply the patches.  So when buildconf is called with QUILT on, at
the end of Build/Prepare, it will not have the patched sources, and
build will fail.

To fix the problem, run buildconf in Build/Prepare only when QUILT is
off, and do it in Build/Configure otherwise.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit d4979cff06b29ec4c8201d619bbb452b34bb1175)
lang/php7/Makefile