From: Michael Heimpold Date: Wed, 15 Nov 2017 20:01:28 +0000 (+0100) Subject: php7: re-enable system timezone data usage X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=84e5012e88537cfa23b81e87e3cfaf66b17d5524;p=openwrt-packages.git php7: re-enable system timezone data usage This part of the Makefile was commented out during update from PHP 5.x to 7.x and not re-enabled in the meanswhile, so fix this finally. Reported-by: Val Kulkov Signed-off-by: Michael Heimpold --- diff --git a/lang/php7/Makefile b/lang/php7/Makefile index 82c364b10..de8f157d7 100644 --- a/lang/php7/Makefile +++ b/lang/php7/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=php PKG_VERSION:=7.1.11 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_MAINTAINER:=Michael Heimpold @@ -443,11 +443,11 @@ else CONFIGURE_ARGS+= --disable-libxml endif -#ifneq ($(CONFIG_PHP7_SYSTEMTZDATA),) -# CONFIGURE_ARGS+= --with-system-tzdata -#else -# CONFIGURE_ARGS+= --without-system-tzdata -#endif +ifneq ($(CONFIG_PHP7_SYSTEMTZDATA),) + CONFIGURE_ARGS+= --with-system-tzdata +else + CONFIGURE_ARGS+= --without-system-tzdata +endif CONFIGURE_VARS+= \ ac_cv_c_bigendian_php=$(if $(CONFIG_BIG_ENDIAN),yes,no) \