Browse Source

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.
android-5
Fredrik Fornwall 9 years ago
parent
commit
7466509fd2
  1. 6
      packages/git/build.sh

6
packages/git/build.sh

@ -1,7 +1,11 @@
TERMUX_PKG_HOMEPAGE=http://git-scm.com/ 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_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_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 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: ## 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" 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"

Loading…
Cancel
Save