commit: 5757778ede10d1eb3129673a102d9942ceda8b66
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 26 16:57:48 2017 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Dec 26 16:58:04 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5757778e
dev-libs/mpfr: remove dohtml, bug #642314
Package-Manager: Portage-2.3.13, Repoman-2.3.3
dev-libs/mpfr/mpfr-4.0.0.ebuild | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/dev-libs/mpfr/mpfr-4.0.0.ebuild b/dev-libs/mpfr/mpfr-4.0.0.ebuild
index f5f8b34e67b..d74928dff90 100644
--- a/dev-libs/mpfr/mpfr-4.0.0.ebuild
+++ b/dev-libs/mpfr/mpfr-4.0.0.ebuild
@@ -23,6 +23,8 @@ DEPEND="${RDEPEND}"
S=${WORKDIR}/${MY_P}
+HTML_DOCS=( doc/FAQ.html )
+
src_prepare() {
if [[ ${PLEVEL} != ${PV} ]] ; then
local i
@@ -45,10 +47,6 @@ multilib_src_configure() {
}
multilib_src_install_all() {
+ rm "${ED}"/usr/share/doc/"${P}"/COPYING*
use static-libs || find "${ED}"/usr -name '*.la' -delete
-
- # clean up html/license install
- pushd "${ED}"/usr/share/doc/${PF} >/dev/null || die
- dohtml *.html && rm COPYING* *.html
- popd >/dev/null || die
}