summaryrefslogtreecommitdiff
path: root/app-arch/cksfv/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /app-arch/cksfv/files
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'app-arch/cksfv/files')
-rw-r--r--app-arch/cksfv/files/cksfv-1.3.15-destdir.patch18
1 files changed, 18 insertions, 0 deletions
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