X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/83093c05abaef47e31b0e25010be10906bb83c1f..b90bae2100e56f8102ca10a41e76375122922ec7:/packages/frotz/build.sh diff --git a/packages/frotz/build.sh b/packages/frotz/build.sh index 71c869c2..3c331a56 100644 --- a/packages/frotz/build.sh +++ b/packages/frotz/build.sh @@ -7,9 +7,11 @@ TERMUX_PKG_SRCURL=https://github.com/DavidGriffith/frotz/archive/${TERMUX_PKG_VE TERMUX_PKG_FOLDERNAME=frotz-${TERMUX_PKG_VERSION} TERMUX_PKG_BUILD_IN_SRC=yes -# Pull request submitted to replace rindex() with strrchr() at -# https://github.com/DavidGriffith/frotz/pull/20 -CFLAGS+=" -Drindex=strrchr" +termux_step_pre_configure() { + # Pull request submitted to replace rindex() with strrchr() at + # https://github.com/DavidGriffith/frotz/pull/20 + CFLAGS+=" -Drindex=strrchr" +} termux_step_make () { CC="$CC $CFLAGS $CPPFLAGS $LDFLAGS" PREFIX=$TERMUX_PREFIX make -j $TERMUX_MAKE_PROCESSES install