X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/27ce01e83bf0264b9aed9595226ef84f07ca0f52..7ce5638519cda066cd6adc547a574050c235c551:/packages/mlocate/build.sh?ds=sidebyside diff --git a/packages/mlocate/build.sh b/packages/mlocate/build.sh index 3854fce1..7e2df66e 100644 --- a/packages/mlocate/build.sh +++ b/packages/mlocate/build.sh @@ -4,7 +4,9 @@ TERMUX_PKG_VERSION=0.26 TERMUX_PKG_BUILD_REVISION=1 TERMUX_PKG_SRCURL=https://fedorahosted.org/releases/m/l/mlocate/mlocate-${TERMUX_PKG_VERSION}.tar.xz -CPPFLAGS+=" -DLINE_MAX=_POSIX2_LINE_MAX" +termux_step_pre_configure() { + CPPFLAGS+=" -DLINE_MAX=_POSIX2_LINE_MAX" +} termux_step_create_debscripts () { echo "mkdir -p $TERMUX_PREFIX/var/mlocate/" > postinst