summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2022-07-01 12:56:49 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2022-07-01 12:56:49 +0200
commit074bcd3fe7702e6ae1b62c38fdb62cd5d9acade7 (patch)
tree64f30d5b30a855edbb82373b62d4fdeab471e464 /media-libs/libmtp
parentnet-analyzer/zabbix: bump to 4.0.42 (diff)
downloadgentoo-074bcd3fe7702e6ae1b62c38fdb62cd5d9acade7.tar.gz
gentoo-074bcd3fe7702e6ae1b62c38fdb62cd5d9acade7.tar.bz2
gentoo-074bcd3fe7702e6ae1b62c38fdb62cd5d9acade7.zip
media-libs/libmtp: fixed doc installation path
Closes: https://bugs.gentoo.org/854810 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-libs/libmtp')
-rw-r--r--media-libs/libmtp/files/libmtp-1.1.19-fix-docdir.patch13
-rw-r--r--media-libs/libmtp/libmtp-1.1.19-r2.ebuild (renamed from media-libs/libmtp/libmtp-1.1.19-r1.ebuild)4
2 files changed, 17 insertions, 0 deletions
diff --git a/media-libs/libmtp/files/libmtp-1.1.19-fix-docdir.patch b/media-libs/libmtp/files/libmtp-1.1.19-fix-docdir.patch
new file mode 100644
index 000000000000..25450079d203
--- /dev/null
+++ b/media-libs/libmtp/files/libmtp-1.1.19-fix-docdir.patch
@@ -0,0 +1,13 @@
+diff --git a/doc/Makefile.in b/doc/Makefile.in
+index fede3e0..d801a47 100644
+--- a/doc/Makefile.in
++++ b/doc/Makefile.in
+@@ -256,7 +256,7 @@ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ EXTRA_DIST = Doxyfile.in examples.h mainpage.h
+-@HAVE_DOXYGEN_TRUE@pkgdocdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
++@HAVE_DOXYGEN_TRUE@pkgdocdir = $(docdir)
+ @HAVE_DOXYGEN_TRUE@htmldocdir = $(pkgdocdir)/html
+ all: all-am
+
diff --git a/media-libs/libmtp/libmtp-1.1.19-r1.ebuild b/media-libs/libmtp/libmtp-1.1.19-r2.ebuild
index bf1575d7a256..fd347a6888d2 100644
--- a/media-libs/libmtp/libmtp-1.1.19-r1.ebuild
+++ b/media-libs/libmtp/libmtp-1.1.19-r2.ebuild
@@ -33,6 +33,10 @@ BDEPEND="
DOCS=( AUTHORS README TODO )
+PATCHES=(
+ "${FILESDIR}/${P}-fix-docdir.patch"
+)
+
src_prepare() {
default