diff --git a/packages/abduco/build.sh b/packages/abduco/build.sh index 7912ef8e8..71cbe2179 100644 --- a/packages/abduco/build.sh +++ b/packages/abduco/build.sh @@ -5,5 +5,6 @@ TERMUX_PKG_SRCURL=http://www.brain-dump.org/projects/abduco/abduco-${TERMUX_PKG_ TERMUX_PKG_BUILD_IN_SRC=yes TERMUX_PKG_DEPENDS="libutil,dvtm" -export PREFIX=$TERMUX_PREFIX -CFLAGS+=" $CPPFLAGS" +termux_step_pre_configure () { + CFLAGS+=" $CPPFLAGS" +} diff --git a/packages/dvtm/build.sh b/packages/dvtm/build.sh index 3775ec75f..a501775e6 100644 --- a/packages/dvtm/build.sh +++ b/packages/dvtm/build.sh @@ -5,5 +5,6 @@ TERMUX_PKG_SRCURL=http://www.brain-dump.org/projects/dvtm/dvtm-${TERMUX_PKG_VERS TERMUX_PKG_BUILD_IN_SRC=yes TERMUX_PKG_DEPENDS="libutil, ncurses" -export PREFIX=$TERMUX_PREFIX -CFLAGS+=" $CPPFLAGS" +termux_step_pre_configure() { + CFLAGS+=" $CPPFLAGS" +}