X-Git-Url: https://git.sthu.org/?p=shuber-gentoo-overlay.git;a=blobdiff_plain;f=dev-tex%2Fgit-latexdiff%2Ffiles%2FMakefile-distdir.patch;fp=dev-tex%2Fgit-latexdiff%2Ffiles%2FMakefile-distdir.patch;h=906df5821f399172bfd6de43e26b35c58dd89498;hp=0000000000000000000000000000000000000000;hb=10fa11064146f1190f223be2a6020871c847d87f;hpb=4541ff2e4a9e1bdfeda171966607322103c8676c diff --git a/dev-tex/git-latexdiff/files/Makefile-distdir.patch b/dev-tex/git-latexdiff/files/Makefile-distdir.patch new file mode 100644 index 0000000..906df58 --- /dev/null +++ b/dev-tex/git-latexdiff/files/Makefile-distdir.patch @@ -0,0 +1,18 @@ +--- a/Makefile 2021-04-16 22:20:59.112809512 +0200 ++++ b/Makefile 2021-04-16 22:22:08.415560216 +0200 +@@ -1,5 +1,5 @@ +-gitexecdir = ${shell git --exec-path} +-gitmanpath = ${shell git --man-path} ++gitexecdir = ${DESTDIR}${shell git --exec-path} ++gitmanpath = ${DESTDIR}${shell git --man-path} + + -include ./config.mak + +@@ -38,6 +38,7 @@ help: + install: install-bin install-doc + + install-bin: ++ mkdir -p ${gitexecdir_SQ} + sed -e '1s|#!.*/bash|#!$(BASH_PATH_SQ)|' \ + -e 's|@GIT_LATEXDIFF_VERSION@|$(GIT_LATEXDIFF_VERSION)|' \ + $(SCRIPT) > '$(gitexecdir_SQ)/$(SCRIPT)'