Browse Source

profanity: use tab instead of spaces

android-5
Henrik Grimler 6 years ago
committed by Fredrik Fornwall
parent
commit
716c9b42ed
  1. 12
      packages/profanity/build.sh

12
packages/profanity/build.sh

@ -12,13 +12,13 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --disable-python-plugins"
TERMUX_PKG_BUILD_IN_SRC=yes TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_pre_configure() { termux_step_pre_configure() {
CPPFLAGS+=" -I$TERMUX_PREFIX/include/python3.7m" CPPFLAGS+=" -I$TERMUX_PREFIX/include/python3.7m"
LDFLAGS+=" -lpython3.7m" LDFLAGS+=" -lpython3.7m"
} }
termux_step_post_configure() { termux_step_post_configure() {
# Enable python support manually, as trying to go using --enable-python-plugins # Enable python support manually, as trying to go using --enable-python-plugins
# causes configure trying to execut python: # causes configure trying to execute python:
echo '#define HAVE_PYTHON 1' >> $TERMUX_PKG_SRCDIR/src/config.h echo '#define HAVE_PYTHON 1' >> $TERMUX_PKG_SRCDIR/src/config.h
perl -p -i -e 's|#am__objects_2|am__objects_2|' $TERMUX_PKG_SRCDIR/Makefile perl -p -i -e 's|#am__objects_2|am__objects_2|' $TERMUX_PKG_SRCDIR/Makefile
} }

Loading…
Cancel
Save