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.
This commit is contained in:
Fredrik Fornwall 2015-11-26 01:09:56 -05:00
parent 2ba1fa72aa
commit 7466509fd2
1 changed files with 5 additions and 1 deletions

View File

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