From: Fredrik Fornwall Date: Thu, 26 Nov 2015 06:09:56 +0000 (-0500) Subject: Make git depend on less X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/termux-packages/commitdiff_plain/7466509fd2147a3a63682a2dfe8a3a0dafa319c1 Make git depend on less The busybox version of less does not handle required escape sequences used by 'git log', so require the complete less. See #63. --- diff --git a/packages/git/build.sh b/packages/git/build.sh index f06a5611..6e3226d5 100755 --- a/packages/git/build.sh +++ b/packages/git/build.sh @@ -1,7 +1,11 @@ TERMUX_PKG_HOMEPAGE=http://git-scm.com/ TERMUX_PKG_DESCRIPTION="Distributed version control system designed to handle everything from small to very large projects with speed and efficiency" -TERMUX_PKG_DEPENDS="openssl, libcurl" +# less is required as a pager for git log, +# and the busybox less does not handle used +# escape sequences: +TERMUX_PKG_DEPENDS="openssl, libcurl, less" TERMUX_PKG_VERSION=2.6.3 +TERMUX_PKG_BUILD_REVISION=1 TERMUX_PKG_SRCURL=https://www.kernel.org/pub/software/scm/git/git-${TERMUX_PKG_VERSION}.tar.xz ## This requires a /system/bin/sh on the host building: TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--without-tcltk --with-curl --with-shell=/system/bin/sh ac_cv_header_libintl_h=no ac_cv_fread_reads_directories=yes ac_cv_snprintf_returns_bogus=yes"