abduco&dvtm: Avoid modifying CFLAGS directly

This commit is contained in:
Fredrik Fornwall 2016-09-03 17:38:15 -04:00
parent 5d383d990b
commit 7c57d72e80
2 changed files with 6 additions and 4 deletions

View File

@ -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"
}

View File

@ -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"
}