diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2010-10-27 21:24:22 +0000 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2010-10-27 21:24:22 +0000 |
commit | 7296e895843ef68a5aa52052b2e8e752d15e0cc2 (patch) | |
tree | af07aa2bec35e3e7c5b93cffa12b80b2489d4982 | |
parent | Version bump. Enhance support for GDBus. (diff) | |
download | gentoo-2-7296e895843ef68a5aa52052b2e8e752d15e0cc2.tar.gz gentoo-2-7296e895843ef68a5aa52052b2e8e752d15e0cc2.tar.bz2 gentoo-2-7296e895843ef68a5aa52052b2e8e752d15e0cc2.zip |
Added hack for manuals relying on outdated DTD
-rw-r--r-- | eclass/kde4-base.eclass | 8 |
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 |