From: Fredrik Fornwall Date: Mon, 23 May 2016 21:05:55 +0000 (-0400) Subject: php: Build native php without xml support X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/commitdiff_plain/12c873161debe1bb79a11f807d6d7ae769c0b812?ds=sidebyside;hp=d5436b6160db126f010902cc21c2851cab379015 php: Build native php without xml support This avoids depending on libxml2-dev (or similar packages) on the build machine. --- diff --git a/packages/php/build.sh b/packages/php/build.sh index 87c73fb2..c2078734 100644 --- a/packages/php/build.sh +++ b/packages/php/build.sh @@ -5,6 +5,8 @@ TERMUX_PKG_BUILD_REVISION=1 TERMUX_PKG_SRCURL=http://mirror.internode.on.net/pub/php/php-${TERMUX_PKG_VERSION}.tar.xz # 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" TERMUX_PKG_FOLDERNAME=php-${TERMUX_PKG_VERSION} TERMUX_PKG_DEPENDS="libandroid-glob, libxml2, liblzma, openssl, pcre, libcrypt, libmcrypt, libcurl, libgd, readline" # http://php.net/manual/en/libxml.installation.php