diff options
author | Dan Armak <danarmak@gentoo.org> | 2002-12-02 19:58:09 +0000 |
---|---|---|
committer | Dan Armak <danarmak@gentoo.org> | 2002-12-02 19:58:09 +0000 |
commit | 35dd22b8336aa87de961b109fbfc63703c32d486 (patch) | |
tree | d47f6fe0dbad291d97b8b61a56d5d4e4889cc322 /eclass/kde-functions.eclass | |
parent | removing enable-final. see gentoo-dev post (diff) | |
download | gentoo-2-35dd22b8336aa87de961b109fbfc63703c32d486.tar.gz gentoo-2-35dd22b8336aa87de961b109fbfc63703c32d486.tar.bz2 gentoo-2-35dd22b8336aa87de961b109fbfc63703c32d486.zip |
removing all enable-final functionality, see gentoo-dev post
Diffstat (limited to 'eclass/kde-functions.eclass')
-rw-r--r-- | eclass/kde-functions.eclass | 18 |
1 files changed, 1 insertions, 17 deletions
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" |