From 8c6d7dc37c139178a60197834bbab20df265dc33 Mon Sep 17 00:00:00 2001 From: Eneas U de Queiroz Date: Thu, 25 Feb 2021 19:09:12 -0300 Subject: [PATCH] php8: fix build with QUILT This is d4979cff0 ported to php8. Signed-off-by: Eneas U de Queiroz Signed-off-by: Michael Heimpold --- lang/php8/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lang/php8/Makefile b/lang/php8/Makefile index 110727065..45fdf7190 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