fix clang cmake build left broken for arches other than aarch64 by #2f0de58717 (...
[termux-packages] / packages / coreutils / Makefile.in.patch
index 931d7ff..0ba3bb1 100644 (file)
@@ -1,9 +1,18 @@
-Use man pages generated by help2man in the host build.
-
-diff -u -r ../coreutils-8.25/Makefile.in ./Makefile.in
---- ../coreutils-8.25/Makefile.in      2016-01-20 05:55:18.000000000 -0500
-+++ ./Makefile.in      2016-01-20 17:47:11.033497974 -0500
-@@ -14385,32 +14385,7 @@
+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)
  
  .x.1:
@@ -33,6 +42,7 @@ diff -u -r ../coreutils-8.25/Makefile.in ./Makefile.in
 -        && rm -rf $$t                                                 \
 -        && chmod a-w $@-t                                             \
 -        && mv $@-t $@
++      # Use man pages generated by help2man in the host build.
 +      cp $(top_srcdir)/../host-build/$@ $@
  .PHONY: check-root
  check-root: