summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-17 02:36:57 +0100
committerSam James <sam@gentoo.org>2021-04-18 02:38:17 +0100
commitbbfac96eed0ebaef8b9554271cdaf3f905d9c96a (patch)
tree47b0062c2aca3d16e41adb7a60835811b82a2512 /app-arch/cksfv/files/cksfv-1.3.15-destdir.patch
parentapp-shells/squirrelsh: use BDEPEND for virtual/pkgconfig (diff)
downloadgentoo-bbfac96eed0ebaef8b9554271cdaf3f905d9c96a.tar.gz
gentoo-bbfac96eed0ebaef8b9554271cdaf3f905d9c96a.tar.bz2
gentoo-bbfac96eed0ebaef8b9554271cdaf3f905d9c96a.zip
app-arch/cksfv: bump to 1.3.15 (with DESTDIR fix)
Noticed there was a release after 11 years(!) so bumped while there for the VariableScope issue. Now respects ${DESTDIR}. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-arch/cksfv/files/cksfv-1.3.15-destdir.patch')
-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