From 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 28 Apr 2021 20:21:43 +0100 Subject: gentoo resync : 28.04.2021 --- app-arch/cksfv/files/cksfv-1.3.15-destdir.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 app-arch/cksfv/files/cksfv-1.3.15-destdir.patch (limited to 'app-arch/cksfv/files/cksfv-1.3.15-destdir.patch') diff --git a/app-arch/cksfv/files/cksfv-1.3.15-destdir.patch b/app-arch/cksfv/files/cksfv-1.3.15-destdir.patch new file mode 100644 index 000000000000..c9ae19b442d3 --- /dev/null +++ b/app-arch/cksfv/files/cksfv-1.3.15-destdir.patch @@ -0,0 +1,18 @@ +The build system doesn't know about DESTDIR which is a problem for us +when we want to have isolation in our phases (src_configure shouldn't +need to know ${ED}). +--- a/Makefile.in ++++ b/Makefile.in +@@ -23,9 +23,9 @@ all: + cd src && $(MAKE) + + install: all +- mkdir -p "$(BINDIR)" "$(MANDIR)/man1/" +- install src/cksfv "$(BINDIR)" +- install -m 644 cksfv.1 "$(MANDIR)/man1/" ++ mkdir -p "$(DESTDIR)$(BINDIR)" "$(DESTDIR)$(MANDIR)/man1/" ++ install src/cksfv "$(DESTDIR)$(BINDIR)" ++ install -m 644 cksfv.1 "$(DESTDIR)$(MANDIR)/man1/" + + clean: + rm -f *.o *~ *.core core -- cgit v1.2.3