summaryrefslogtreecommitdiff
path: root/dev-vcs/reposurgeon/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-06-15 14:57:03 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-06-15 14:57:03 +0100
commitd18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch)
tree4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /dev-vcs/reposurgeon/files
parente748ba9741f6540f4675c23e3e37b73e822c13a4 (diff)
gentoo resync : 15.06.2021
Diffstat (limited to 'dev-vcs/reposurgeon/files')
-rw-r--r--dev-vcs/reposurgeon/files/reposurgeon-4.27-docdir.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-vcs/reposurgeon/files/reposurgeon-4.27-docdir.patch b/dev-vcs/reposurgeon/files/reposurgeon-4.27-docdir.patch
new file mode 100644
index 000000000000..5a959bd26156
--- /dev/null
+++ b/dev-vcs/reposurgeon/files/reposurgeon-4.27-docdir.patch
@@ -0,0 +1,40 @@
+--- reposurgeon-4.27/Makefile.orig 2021-06-01 13:39:31.000000000 -0700
++++ reposurgeon-4.27/Makefile 2021-06-01 13:40:22.000000000 -0700
+@@ -4,6 +4,7 @@
+ INSTALL=install
+ prefix?=/usr/local
+ mandir?=share/man
++docdir?=share/doc/reposurgeon
+ target=$(DESTDIR)$(prefix)
+
+ META = README.adoc INSTALL.adoc NEWS.adoc COPYING
+@@ -277,10 +278,10 @@
+ #
+ install:
+ $(INSTALL) -d "$(target)/bin"
+- $(INSTALL) -d "$(target)/share/doc/reposurgeon"
++ $(INSTALL) -d "$(target)/$(docdir)"
+ $(INSTALL) -d "$(target)/$(mandir)/man1"
+ $(INSTALL) -m 755 $(INSTALLABLES) "$(target)/bin"
+- $(INSTALL) -m 644 $(SHARED) "$(target)/share/doc/reposurgeon"
++ $(INSTALL) -m 644 $(SHARED) "$(target)/$(docdir)"
+ $(INSTALL) -m 644 $(MANPAGES) "$(target)/$(mandir)/man1"
+
+ #
+@@ -288,14 +289,14 @@
+ #
+
+ INSTALLED_BINARIES := $(INSTALLABLES:%="$(target)/bin/%")
+-INSTALLED_SHARED := $(SHARED:%="$(target)/share/doc/reposurgeon/%")
++INSTALLED_SHARED := $(SHARED:%="$(target)/$(docdir)/%")
+ INSTALLED_MANPAGES := $(MANPAGES:%="$(target)/$(mandir)/man1/%")
+
+ uninstall:
+ rm -f $(INSTALLED_BINARIES)
+ rm -f $(INSTALLED_MANPAGES)
+ rm -f $(INSTALLED_SHARED)
+- rmdir "$(target)/share/doc/reposurgeon"
++ rmdir "$(target)/$(docdir)"
+
+ VERS=$(shell sh ./extractversion.sh <NEWS.adoc)
+