Remove dependency on php on the builder

The native php executable is built by the package itself
This commit is contained in:
Fredrik Fornwall 2015-12-24 02:50:23 -05:00
parent dbfc21aec8
commit 7e606cc7eb
2 changed files with 1 additions and 2 deletions

View File

@ -36,8 +36,6 @@ RUN apt-get update && apt-get install -y \
luarocks \ luarocks \
lzip \ lzip \
m4 \ m4 \
# php-cli is needed to compile php package
php5-cli \
pkg-config \ pkg-config \
scons \ scons \
subversion \ subversion \

View File

@ -20,6 +20,7 @@ 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+=" --mandir=$TERMUX_PREFIX/share/man"
termux_step_pre_configure () { termux_step_pre_configure () {
export PATH=$PATH:$TERMUX_PKG_HOSTBUILD_DIR/sapi/cli/
export NATIVE_PHP_EXECUTABLE=$TERMUX_PKG_HOSTBUILD_DIR/sapi/cli/php export NATIVE_PHP_EXECUTABLE=$TERMUX_PKG_HOSTBUILD_DIR/sapi/cli/php
# Run autoconf since we have patched config.m4 files. # Run autoconf since we have patched config.m4 files.