summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2007-04-22 23:04:33 +0000
committerWulf Krueger <philantrop@gentoo.org>2007-04-22 23:04:33 +0000
commited768177bccb4ef8fa03d98e85c9bd6682327776 (patch)
treed2c5bd57f4cacaea283b1753eb258ae1118d2da9 /eclass/kde.eclass
parentStable on Mips, bug 146878. (diff)
downloadgentoo-2-ed768177bccb4ef8fa03d98e85c9bd6682327776.tar.gz
gentoo-2-ed768177bccb4ef8fa03d98e85c9bd6682327776.tar.bz2
gentoo-2-ed768177bccb4ef8fa03d98e85c9bd6682327776.zip
DOC_DIR_SUFFIX handling was still incorrect. Should finally be fixed now.
Diffstat (limited to 'eclass/kde.eclass')
-rw-r--r--eclass/kde.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass
index 6b7eea08439c..4e1d91b0c9a3 100644
--- a/eclass/kde.eclass
+++ b/eclass/kde.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.197 2007/04/22 17:17:47 philantrop Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.198 2007/04/22 23:04:33 philantrop Exp $
#
# Author Dan Armak <danarmak@gentoo.org>
#
@@ -135,7 +135,7 @@ kde_src_unpack() {
if [[ -n ${LANGS_DOC} ]]; then
MAKE_DOC=$(echo $(echo "${LINGUAS} ${LANGS_DOC}" | tr ' ' '\n' | sort | uniq -d))
einfo "Enabling documentation for: ${MAKE_DOC}"
- [[ -n ${MAKE_DOC} ]] && [[ -n ${DOC_DIR_SUFFIX} ]] && MAKE_DOC="${MAKE_DOC}${DOC_DIR_SUFFIX}"
+ [[ -n ${MAKE_DOC} ]] && [[ -n ${DOC_DIR_SUFFIX} ]] && MAKE_DOC=$(echo "${MAKE_DOC}" | tr '\n' ' ') && MAKE_DOC="${MAKE_DOC// /${DOC_DIR_SUFFIX} }"
sed -i -e "s:^SUBDIRS =.*:SUBDIRS = ${MAKE_DOC} ${PN}:" \
"${KDE_S}/doc/Makefile.am" || die "sed for locale failed"
rm -f "${KDE_S}/configure"