From: Gregorio Guidi Date: Wed, 24 Aug 2005 22:52:59 +0000 (+0000) Subject: Restrict the visibility hack to kde 3.4.1. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=700b85dfa8b4946b2390cd70f47e9e4f0a705386;p=gentoo.git Restrict the visibility hack to kde 3.4.1. --- diff --git a/eclass/kde.eclass b/eclass/kde.eclass index 9baec4722719..cfa44a6d8e1c 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.127 2005/08/23 14:55:11 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.128 2005/08/24 22:52:59 greg_g Exp $ # # Author Dan Armak # @@ -60,11 +60,12 @@ kde_src_unpack() { touch $UIFILES fi - # Visiblity stuff is way broken! Just disable it when it's present - # until upstream finds a way to have it working right. - if grep KDE_ENABLE_HIDDEN_VISIBILITY configure.in &> /dev/null || ! [[ -f configure ]]; then - find ${S} -name configure.in.in | xargs sed -i -e 's:KDE_ENABLE_HIDDEN_VISIBILITY::g' - rm -f configure + # Visiblity stuff is way broken before 3.4.2. Just disable it when it's present. + if [ "${PV}" = "3.4.1" ]; then + if grep KDE_ENABLE_HIDDEN_VISIBILITY configure.in &> /dev/null || ! [[ -f configure ]]; then + find ${S} -name configure.in.in | xargs sed -i -e 's:KDE_ENABLE_HIDDEN_VISIBILITY::g' + rm -f configure + fi fi }