Make git depend on less
authorFredrik Fornwall <fredrik@fornwall.net>
Thu, 26 Nov 2015 06:09:56 +0000 (01:09 -0500)
committerFredrik Fornwall <fredrik@fornwall.net>
Thu, 26 Nov 2015 06:09:56 +0000 (01:09 -0500)
The busybox version of less does not handle required escape sequences
used by 'git log', so require the complete less. See #63.

packages/git/build.sh

index f06a561..6e3226d 100755 (executable)
@@ -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"