DO NOT ignore the visibility for kde newer than 3.4.1 as the problem is STILL there.
authorDiego Elio Pettenò <flameeyes@gentoo.org>
Sun, 25 Sep 2005 21:03:59 +0000 (21:03 +0000)
committerDiego Elio Pettenò <flameeyes@gentoo.org>
Sun, 25 Sep 2005 21:03:59 +0000 (21:03 +0000)
eclass/kde.eclass

index 5a38ae43b74b38dc6973d1db484ac5eb434cedf5..c82f63ad8fa56d037257dc49be6902fce739a85d 100644 (file)
@@ -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.132 2005/09/25 12:38:18 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.133 2005/09/25 21:03:59 flameeyes Exp $
 #
 # Author Dan Armak <danarmak@gentoo.org>
 #
@@ -60,12 +60,11 @@ kde_src_unpack() {
                touch $UIFILES
        fi
 
-       # 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
+       # Visiblity stuff *IS* broken. Just disable it when it's present.
+       # DON'T make this version-dependent, it's NOT version dependant.
+       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
 }