summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2011-04-08 21:51:49 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2011-04-08 21:51:49 +0000
commitd36cb46e17433e8fad28e6b2b8bb747b7e7772c3 (patch)
tree8cced49eb48cc098af5ca8b157da9a2a293ddc8b /net-libs/libdmapsharing/libdmapsharing-2.1.13.ebuild
parentversion bump (diff)
downloadgentoo-2-d36cb46e17433e8fad28e6b2b8bb747b7e7772c3.tar.gz
gentoo-2-d36cb46e17433e8fad28e6b2b8bb747b7e7772c3.tar.bz2
gentoo-2-d36cb46e17433e8fad28e6b2b8bb747b7e7772c3.zip
Fix build with USE=doc, bug #361067.
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/libdmapsharing/libdmapsharing-2.1.13.ebuild')
-rw-r--r--net-libs/libdmapsharing/libdmapsharing-2.1.13.ebuild13
1 files changed, 12 insertions, 1 deletions
diff --git a/net-libs/libdmapsharing/libdmapsharing-2.1.13.ebuild b/net-libs/libdmapsharing/libdmapsharing-2.1.13.ebuild
index 61b6f8ab02e0..dd02c7ef6822 100644
--- a/net-libs/libdmapsharing/libdmapsharing-2.1.13.ebuild
+++ b/net-libs/libdmapsharing/libdmapsharing-2.1.13.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libdmapsharing/libdmapsharing-2.1.13.ebuild,v 1.1 2011/03/23 22:51:57 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libdmapsharing/libdmapsharing-2.1.13.ebuild,v 1.2 2011/04/08 21:51:49 eva Exp $
EAPI="3"
@@ -36,6 +36,17 @@ src_prepare() {
# Fix slot support
epatch "${FILESDIR}/${P}-slotability-fix.patch"
+ sed "s/name=\"${PN}\"/name=\"${PN}-${SLOT}\"/" \
+ -i ${S}/docs/html/${PN}.devhelp* || die "sed 1 failed"
+ mv ${S}/docs/html/${PN}{,-${SLOT}}.devhelp
+ mv ${S}/docs/html/${PN}{,-${SLOT}}.devhelp2
+ mv ${S}/docs/${PN}{,-${SLOT}}-docs.sgml
+ mv ${S}/docs/${PN}{,-${SLOT}}-overrides.txt
+ mv ${S}/docs/${PN}{,-${SLOT}}-sections.txt
+ mv ${S}/docs/${PN}{,-${SLOT}}.types
+
+ # Fix build order, bug #361067
+ epatch "${FILESDIR}/${P}-build-order.patch"
AT_M4DIR="m4" eautoreconf
}