coreutils: Remove strange ls color patch
[termux-packages] / packages / vim-python / build.sh
index a0912fb..6204899 100755 (executable)
@@ -14,10 +14,12 @@ TERMUX_PKG_RM_AFTER_INSTALL='bin/rview bin/rvim bin/ex share/man/man1/evim.1 sha
 
 # vim-python:
 TERMUX_PKG_CONFLICTS="vim"
-CPPFLAGS+=" -I${TERMUX_PREFIX}/include/python3.5m"
 TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-python3interp  --with-python3-config-dir=$TERMUX_PREFIX/lib/python3.5/config-3.5m/"
 TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" vi_cv_path_python3_pfx=$TERMUX_PREFIX vi_cv_var_python3_version=3.5"
 TERMUX_PKG_DESCRIPTION+=" - with python support"
+termux_step_pre_configure() {
+       CPPFLAGS+=" -I${TERMUX_PREFIX}/include/python3.5m"
+}
 
 termux_step_pre_configure () {
        make distclean