php: Update from 7.1.1 to 7.1.2 and enable pcntl
This commit is contained in:
parent
a27346012d
commit
6788ea2c5d
@ -1,34 +1,37 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://php.net
|
||||
TERMUX_PKG_DESCRIPTION="Server-side, HTML-embedded scripting language"
|
||||
TERMUX_PKG_VERSION=7.1.1
|
||||
TERMUX_PKG_VERSION=7.1.2
|
||||
TERMUX_PKG_SRCURL=http://www.php.net/distributions/php-${TERMUX_PKG_VERSION}.tar.xz
|
||||
TERMUX_PKG_SHA256=b3565b0c1441064eba204821608df1ec7367abff881286898d900c2c2a5ffe70
|
||||
TERMUX_PKG_SHA256=d815a0c39fd57bab1434a77ff0610fb507c22f790c66cd6f26e27030c4b3e971
|
||||
# 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_DEPENDS="libandroid-glob, libxml2, liblzma, openssl, pcre, libbz2, libcrypt, libcurl, libgd, readline, freetype"
|
||||
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_func_res_nsearch=no"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --mandir=$TERMUX_PREFIX/share/man"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-bz2=$TERMUX_PREFIX"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-curl=$TERMUX_PREFIX"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-freetype-dir=$TERMUX_PREFIX"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-gd=$TERMUX_PREFIX"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-iconv=$TERMUX_PREFIX"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-libxml-dir=$TERMUX_PREFIX"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-openssl=$TERMUX_PREFIX"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-pcre-regex=$TERMUX_PREFIX"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-readline=$TERMUX_PREFIX"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-zlib"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-bcmath"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-calendar"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-exif"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-gd-native-ttf=$TERMUX_PREFIX"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-mbstring"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-opcache"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-sockets"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-zip"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||
ac_cv_func_res_nsearch=no
|
||||
--enable-bcmath
|
||||
--enable-calendar
|
||||
--enable-exif
|
||||
--enable-gd-native-ttf=$TERMUX_PREFIX
|
||||
--enable-mbstring
|
||||
--enable-opcache
|
||||
--enable-pcntl
|
||||
--enable-sockets
|
||||
--enable-zip
|
||||
--mandir=$TERMUX_PREFIX/share/man
|
||||
--with-bz2=$TERMUX_PREFIX
|
||||
--with-curl=$TERMUX_PREFIX
|
||||
--with-freetype-dir=$TERMUX_PREFIX
|
||||
--with-gd=$TERMUX_PREFIX
|
||||
--with-iconv=$TERMUX_PREFIX
|
||||
--with-libxml-dir=$TERMUX_PREFIX
|
||||
--with-openssl=$TERMUX_PREFIX
|
||||
--with-pcre-regex=$TERMUX_PREFIX
|
||||
--with-readline=$TERMUX_PREFIX
|
||||
--with-zlib
|
||||
"
|
||||
|
||||
termux_step_pre_configure () {
|
||||
LDFLAGS+=" -landroid-glob -llog"
|
||||
|
Loading…
Reference in New Issue
Block a user