diff -u -r ../coreutils-8.26/Makefile.in ./Makefile.in
--- ../coreutils-8.26/Makefile.in 2016-11-30 13:34:55.000000000 -0500
+++ ./Makefile.in 2016-11-30 19:10:09.902334174 -0500
-@@ -5023,7 +5023,9 @@
- @CROSS_COMPILING_FALSE@cu_install_program = src/ginstall
-
- # Use the just-built 'ginstall', when not cross-compiling.
--@CROSS_COMPILING_TRUE@cu_install_program = @INSTALL_PROGRAM@
-+# Work around
-+# "Makefile:3440: *** Recursive variable 'INSTALL' references itself (eventually). Stop."
-+@CROSS_COMPILING_TRUE@cu_install_program = install
- info_TEXINFOS = doc/coreutils.texi
- doc_coreutils_TEXINFOS = \
- doc/perm.texi \
@@ -14622,32 +14624,8 @@
@SINGLE_BINARY_FALSE@man/yes.1: src/yes$(EXEEXT)
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/coreutils/
TERMUX_PKG_DESCRIPTION="Basic file, shell and text manipulation utilities from the GNU project"
-TERMUX_PKG_VERSION=8.26
-TERMUX_PKG_REVISION=2
+TERMUX_PKG_VERSION=8.27
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/coreutils/coreutils-${TERMUX_PKG_VERSION}.tar.xz
-TERMUX_PKG_SHA256=155e94d748f8e2bc327c66e0cbebdb8d6ab265d2f37c3c928f7bf6c3beba9a8e
+TERMUX_PKG_SHA256=8891d349ee87b9ff7870f52b6d9312a9db672d2439d289bc57084771ca21656b
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_func_mkfifo=yes gl_cv_host_operating_system=Android --without-gmp --enable-single-binary=symlinks ac_cv_func_endpwent=no"
# pinky has no usage on Android.
# df does not work either, let system binary prevail.