php8: fix build with QUILT
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Thu, 25 Feb 2021 22:09:12 +0000 (19:09 -0300)
committerMichael Heimpold <mhei@heimpold.de>
Sat, 6 Mar 2021 19:34:10 +0000 (20:34 +0100)
This is d4979cff0 ported to php8.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
lang/php8/Makefile

index 1107270656eac572edda24bb9a471b8cf6a8a524..45fdf71904cc40460db1870c2f61a94504b400f9 100644 (file)
@@ -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