summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2016-12-17 05:25:22 +0100
committerDavide Pesavento <pesa@gentoo.org>2016-12-17 05:25:22 +0100
commit0aed34f7046029f7b312136e97e8d3f9451a6c80 (patch)
tree638d5aff1c83b194be27c0e5897dc237aea1674b /dev-qt/qt-docs
parentnet-dns/unbound: amd64 stable (diff)
downloadgentoo-0aed34f7046029f7b312136e97e8d3f9451a6c80.tar.gz
gentoo-0aed34f7046029f7b312136e97e8d3f9451a6c80.tar.bz2
gentoo-0aed34f7046029f7b312136e97e8d3f9451a6c80.zip
dev-qt/qt-docs: remove Makefile accidentally left in the archive by upstream
Gentoo-Bug: 602750 Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-qt/qt-docs')
-rw-r--r--dev-qt/qt-docs/qt-docs-5.7.1_p0.ebuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/dev-qt/qt-docs/qt-docs-5.7.1_p0.ebuild b/dev-qt/qt-docs/qt-docs-5.7.1_p0.ebuild
index 542a8fb74321..c04b93df487b 100644
--- a/dev-qt/qt-docs/qt-docs-5.7.1_p0.ebuild
+++ b/dev-qt/qt-docs/qt-docs-5.7.1_p0.ebuild
@@ -21,14 +21,20 @@ DEPEND="app-arch/p7zip"
S=${WORKDIR}/Docs/Qt-$(get_version_component_range 1-2)
+src_prepare() {
+ default
+
+ # bug 597026
+ rm -r global || die
+
+ # bug 602750
+ rm Makefile || die
+}
+
src_install() {
# ${PV} instead of ${PF} is intentional
local dest=/usr/share/doc/qt-${PV%%_p*}
insinto "${dest}"
doins -r *
docompress -x "${dest}"
-
- # these files are not shipped in any other version of qt-docs and collide with qtcore
- # bug 597026
- rm -rf "${ED}${dest}"/global || die
}