From 1198ede739f5d23d319a13476ce22d53e8fc330e Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Fri, 3 Jan 2020 19:05:40 +0200 Subject: [PATCH] php: enable xsl module Requested in https://github.com/termux/termux-packages/issues/3983. --- packages/php/build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/php/build.sh b/packages/php/build.sh index 7eb2fa113..4a09c2b64 100644 --- a/packages/php/build.sh +++ b/packages/php/build.sh @@ -2,15 +2,14 @@ TERMUX_PKG_HOMEPAGE=https://php.net TERMUX_PKG_DESCRIPTION="Server-side, HTML-embedded scripting language" TERMUX_PKG_LICENSE="PHP-3.0" TERMUX_PKG_VERSION=7.4.1 -TERMUX_PKG_REVISION=3 +TERMUX_PKG_REVISION=4 TERMUX_PKG_SRCURL=https://secure.php.net/distributions/php-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=561bb866bdd509094be00f4ece7c3543ec971c4d878645ee81437e291cffc762 # Build native php for phar to build (see pear-Makefile.frag.patch): TERMUX_PKG_HOSTBUILD=true # Build the native php without xml support as we only need phar: TERMUX_PKG_EXTRA_HOSTBUILD_CONFIGURE_ARGS="--disable-libxml --disable-dom --disable-simplexml --disable-xml --disable-xmlreader --disable-xmlwriter --without-pear --disable-sqlite3 --without-libxml --without-sqlite3 --without-pdo-sqlite" -TERMUX_PKG_DEPENDS="libiconv, libandroid-glob, libxml2, liblzma, openssl, pcre2, libbz2, libcrypt, libcurl, libgd, readline, freetype, libandroid-support, zlib, oniguruma, libsqlite, libzip" -# mysql modules were initially shared libs +TERMUX_PKG_DEPENDS="freetype, libandroid-glob, libandroid-support, libbz2, libcrypt, libcurl, libgd, libiconv, liblzma, libsqlite, libxml2, libxslt, libzip, oniguruma, openssl, pcre2, readline, zlib" TERMUX_PKG_CONFLICTS="php-mysql, php-dev" TERMUX_PKG_REPLACES="php-mysql, php-dev" TERMUX_PKG_RM_AFTER_INSTALL="php/php/fpm" @@ -43,6 +42,7 @@ ac_cv_func_res_nsearch=no --with-external-gd --with-external-pcre --with-zip +--with-xsl --sbindir=$TERMUX_PREFIX/bin "