summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2010-10-27 21:24:22 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2010-10-27 21:24:22 +0000
commit7296e895843ef68a5aa52052b2e8e752d15e0cc2 (patch)
treeaf07aa2bec35e3e7c5b93cffa12b80b2489d4982 /eclass
parentVersion bump. Enhance support for GDBus. (diff)
downloadgentoo-2-7296e895843ef68a5aa52052b2e8e752d15e0cc2.tar.gz
gentoo-2-7296e895843ef68a5aa52052b2e8e752d15e0cc2.tar.bz2
gentoo-2-7296e895843ef68a5aa52052b2e8e752d15e0cc2.zip
Added hack for manuals relying on outdated DTD
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde4-base.eclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass
index 7595b7fc07c1..109b97dd605c 100644
--- a/eclass/kde4-base.eclass
+++ b/eclass/kde4-base.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.75 2010/10/24 15:56:03 tampakrap Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.76 2010/10/27 21:24:22 dilfridge Exp $
# @ECLASS: kde4-base.eclass
# @MAINTAINER:
@@ -655,6 +655,12 @@ kde4-base_src_prepare() {
if [[ -n ${KMLOADLIBS} ]] ; then
load_library_dependencies
fi
+
+ # Hack for manuals relying on outdated DTD
+ find "${S}" -name "*.docbook" \
+ -exec sed -i -r \
+ -e 's:-//KDE//DTD DocBook XML V4\.1(\..)?-Based Variant V1\.[01]//EN:-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN:g' {} + \
+ || die 'failed to fix DocBook variant version'
}
# @FUNCTION: kde4-base_src_configure