diff options
-rw-r--r-- | eclass/kde-dist.eclass | 7 | ||||
-rw-r--r-- | eclass/kde-functions.eclass | 18 |
2 files changed, 2 insertions, 23 deletions
diff --git a/eclass/kde-dist.eclass b/eclass/kde-dist.eclass index 5a173603fe82..b3282b5dc5d9 100644 --- a/eclass/kde-dist.eclass +++ b/eclass/kde-dist.eclass @@ -1,7 +1,7 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # Author Dan Armak <danarmak@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/eclass/kde-dist.eclass,v 1.30 2002/11/12 19:52:44 hannes Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde-dist.eclass,v 1.31 2002/12/02 19:58:09 danarmak Exp $ # This is the kde-dist eclass for >=2.2.1 kde base packages. Don't use for kdelibs though :-) # Don't use it for e.g. kdevelop, koffice because of their separate versionnig schemes. @@ -22,11 +22,6 @@ need-kde $PV DESCRIPTION="KDE ${PV} - " HOMEPAGE="http://www.kde.org/" -# doesn't work well for unstable versions -if [ "$PV" != "3.1_alpha1" -a "$PV" != "3.1_beta1" -a "$PV" != "3.1_beta2" -a "$PV" != "3.1_rc1" -a "$PV" != "5" ]; then - set_enable_final -fi - LICENSE="GPL-2" SLOT="$KDEMAJORVER.$KDEMINORVER" diff --git a/eclass/kde-functions.eclass b/eclass/kde-functions.eclass index 072c2f6646f0..5afcca2a1a45 100644 --- a/eclass/kde-functions.eclass +++ b/eclass/kde-functions.eclass @@ -1,7 +1,7 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # Author Dan Armak <danarmak@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.47 2002/12/01 05:06:21 danarmak Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.48 2002/12/02 19:58:09 danarmak Exp $ # This contains everything except things that modify ebuild variables and functions (e.g. $P, src_compile() etc.) ECLASS=kde-functions @@ -394,22 +394,6 @@ get_free_mem() { } -# decide whether to set --enable-final, based on the amount of free memory -# if someone complains that he still gets OOM, we can increase the limit here -# is only called by ebuilds (& kde-dist.eclass) that actually support enable-final! -set_enable_final() { - - # current limit is 200,000 kB - if [ "`get_free_mem`" -ge 200000 ]; then - debug-print "$FUNCNAME: enable-final ON" - myconf="$myconf --enable-final" - else - debug-print "$FUNCNAME: enable-final OFF" - myconf="$myconf --disable-final" # just to be sure :-) - fi - -} - # is this a kde-base ebuid? case $PN in kde-i18n*|arts|kdeaddons|kdeadmin|kdeartwork|kdebase|kdebindings|kdeedu|kdegames|kdegraphics|kdelibs|kdemultimedia|kdenetwork|kdepim|kdesdk|kdetoys|kdeutils) debug-print "$ECLASS: KDEBASE ebuild recognized" |