From 9e3190e9d84f7262d07af466279c8aae9f2550ad Mon Sep 17 00:00:00 2001 From: Wulf Krueger Date: Sun, 22 Apr 2007 17:17:47 +0000 Subject: [PATCH] Fixed DOC_DIR_SUFFIX handling. Fixes bug 175538. --- eclass/kde.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/kde.eclass b/eclass/kde.eclass index ca47e5a43e38..6b7eea08439c 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.196 2007/04/19 10:24:56 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.197 2007/04/22 17:17:47 philantrop Exp $ # # Author Dan Armak # @@ -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="${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" -- 2.26.2