summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-01-08 23:27:19 +0200
committerDavid Seifert <soap@gentoo.org>2017-01-08 23:27:42 +0200
commitf0fca6b743c48593fc7fe4a4a8b2bba21739fe69 (patch)
tree5958d3f925d1111213d714d0cad6920043f22828 /media-libs/flac/files
parentdev-php/PEAR-Text_Figlet: new EAPI=6 revision sans the php-pear-r1 eclass. (diff)
downloadgentoo-f0fca6b743c48593fc7fe4a4a8b2bba21739fe69.tar.gz
gentoo-f0fca6b743c48593fc7fe4a4a8b2bba21739fe69.tar.bz2
gentoo-f0fca6b743c48593fc7fe4a4a8b2bba21739fe69.zip
media-libs/flac: Call einstalldocs and minor fixups
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'media-libs/flac/files')
-rw-r--r--media-libs/flac/files/flac-1.3.2-honor-htmldir.patch55
1 files changed, 55 insertions, 0 deletions
diff --git a/media-libs/flac/files/flac-1.3.2-honor-htmldir.patch b/media-libs/flac/files/flac-1.3.2-honor-htmldir.patch
new file mode 100644
index 000000000000..2f93a67cbbe3
--- /dev/null
+++ b/media-libs/flac/files/flac-1.3.2-honor-htmldir.patch
@@ -0,0 +1,55 @@
+HTML files should be installed to $(htmldir), and $(docdir) should
+not be changed, as this is a user flag in the GNU conventions.
+
+--- a/doc/html/images/Makefile.am
++++ b/doc/html/images/Makefile.am
+@@ -16,9 +16,9 @@
+ # restrictive of those mentioned above. See the file COPYING.Xiph in this
+ # distribution.
+
+-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/html/images
++logosdir = $(htmldir)/images
+
+-doc_DATA = \
++logos_DATA = \
+ logo.svg \
+ logo130.gif
+
+--- a/doc/html/Makefile.am
++++ b/doc/html/Makefile.am
+@@ -18,9 +18,7 @@
+
+ SUBDIRS = images
+
+-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/html
+-
+-doc_DATA = \
++html_DATA = \
+ changelog.html \
+ developers.html \
+ documentation.html \
+@@ -46,10 +44,10 @@
+ # The install targets don't copy whole directories so we have to
+ # handle 'api/' specially:
+ install-data-local:
+- $(mkinstalldirs) $(DESTDIR)$(docdir)/api
+- (cd $(builddir)/api && $(INSTALL_DATA) * $(DESTDIR)$(docdir)/api)
++ $(mkinstalldirs) $(DESTDIR)$(htmldir)/api
++ (cd $(builddir)/api && $(INSTALL_DATA) * $(DESTDIR)$(htmldir)/api)
+ uninstall-local:
+- rm -rf $(DESTDIR)$(docdir)/api
++ rm -rf $(DESTDIR)$(htmldir)/api
+ distclean-local:
+ -rm -rf api
+ endif
+--- a/doc/Makefile.am
++++ b/doc/Makefile.am
+@@ -31,8 +31,6 @@
+ mkdir -p html/api
+ endif
+
+-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
+-
+ doc_DATA = \
+ FLAC.tag
+