From: Eneas U de Queiroz Date: Thu, 25 Feb 2021 22:09:12 +0000 (-0300) Subject: php8: fix build with QUILT X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8c6d7dc37c139178a60197834bbab20df265dc33;p=feed%2Fpackages.git php8: fix build with QUILT This is d4979cff0 ported to php8. Signed-off-by: Eneas U de Queiroz Signed-off-by: Michael Heimpold --- diff --git a/lang/php8/Makefile b/lang/php8/Makefile index 1107270656..45fdf71904 100644 --- a/lang/php8/Makefile +++ b/lang/php8/Makefile @@ -529,7 +529,12 @@ endef define Build/Prepare $(call Build/Prepare/Default) - ( cd $(PKG_BUILD_DIR); touch configure.ac; ./buildconf --force ) + $(if $(QUILT),,( cd $(PKG_BUILD_DIR); touch configure.ac; ./buildconf --force )) +endef + +define Build/Configure + $(if $(QUILT),( cd $(PKG_BUILD_DIR); touch configure.ac; ./buildconf --force )) + $(call Build/Configure/Default) endef define Build/InstallDev