php7: fix pecl build with QUILT
authorEneas U de Queiroz <redacted>
Thu, 25 Feb 2021 15:58:36 +0000 (12:58 -0300)
committerEneas U de Queiroz <redacted>
Fri, 26 Feb 2021 14:23:07 +0000 (11:23 -0300)
commit3476816cc8f03dcd7d118bb1faf77a9ef224d66f
tree91c05023f0aa8cb1fee759e1617c62abdfaca15e
parentd8203191cc9ee7d74d8304eb8c6d1954789a0c12
php7: fix pecl build with QUILT

Commit d741a64b7 ("lang/php7: Don't run phpize7 with QUILT") changed
pecl.mk to not run phpize7 during Package/prepare if QUILT is set.  The
intention was to allow prepare, refresh and update targets to run
without building dependencies.

As a side-effect, Package/configure and Package/compile fail when QUILT
is defined because they can't find ./configure or a Makefile.  It also
impacts the github tests run with pull requests, because QUILT is
defined there.

To avoid that failure and still keep the prepare, refresh, and update
speedup, call phpize7 before Package/Configure if QUILT is defined.

Signed-off-by: Eneas U de Queiroz <redacted>
lang/php7/pecl.mk
git clone https://git.99rst.org/PROJECT