From 4959dabe7dfbe851e1848ff783f1b37a9fb0c0f2 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Wed, 8 Apr 2015 12:39:28 -0300 Subject: php: cleanup patches Convert patches from pure configure ones to *.m4/configure.in cleanness. This allows us to AUTORECONF (well, not quite, but close). Even though upstream will probably not accept them it's the right way. Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- package/php/php.mk | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'package/php/php.mk') diff --git a/package/php/php.mk b/package/php/php.mk index ed842b0378..12f8eaa12a 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -22,6 +22,13 @@ PHP_CONF_OPTS = \ --disable-rpath PHP_CONF_ENV = EXTRA_LIBS="$(PHP_EXTRA_LIBS)" +# PHP can't be AUTORECONFed the standard way unfortunately +PHP_DEPENDENCIES += host-autoconf host-automake host-libtool +define PHP_BUILDCONF + cd $(@D) ; ./buildconf --force +endef +PHP_PRE_CONFIGURE_HOOKS += PHP_BUILDCONF + ifeq ($(BR2_ENDIAN),"BIG") PHP_CONF_ENV += ac_cv_c_bigendian_php=yes else -- cgit v1.2.3