X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/bc82430bf318917d46dd9640d99da2e055594054..c26c759c0d52dde609bb0af1339c7b596f6ea284:/packages/coreutils/Makefile.in.patch diff --git a/packages/coreutils/Makefile.in.patch b/packages/coreutils/Makefile.in.patch index faf3f818..677d06c2 100644 --- a/packages/coreutils/Makefile.in.patch +++ b/packages/coreutils/Makefile.in.patch @@ -1,9 +1,7 @@ -Use man pages generated by help2man in the host build. - -diff -u -r ../coreutils-8.24/Makefile.in ./Makefile.in ---- ../coreutils-8.24/Makefile.in 2015-07-03 17:23:13.000000000 -0400 -+++ ./Makefile.in 2015-07-04 07:38:25.901795437 -0400 -@@ -14242,31 +14242,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 +@@ -14622,32 +14624,8 @@ @SINGLE_BINARY_FALSE@man/yes.1: src/yes$(EXEEXT) .x.1: @@ -19,7 +17,8 @@ diff -u -r ../coreutils-8.24/Makefile.in ./Makefile.in - && $(MKDIR_P) $$t \ - && (cd $$t && $(LN_S) '$(abs_top_builddir)/src/'$$prog$(EXEEXT) \ - $$argv$(EXEEXT)) \ -- && $(run_help2man) \ +- && : $${SOURCE_DATE_EPOCH=`cat $(srcdir)/.timestamp 2>/dev/null || :`} \ +- && export SOURCE_DATE_EPOCH && $(run_help2man) \ - --source='$(PACKAGE_STRING)' \ - --include=$(srcdir)/man/$$name.x \ - --output=$$t/$$name.1 \ @@ -32,6 +31,7 @@ diff -u -r ../coreutils-8.24/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: