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 | a91c756317a589c567d673babc6c484762674802 (patch) | |
tree | 8cf62f9a5ad5f11a53ae31b2c91fb43c9c3ce9e4 /eclass/kde-functions.eclass | |
parent | removing enable-final. see gentoo-dev post (diff) | |
download | historical-a91c756317a589c567d673babc6c484762674802.tar.gz historical-a91c756317a589c567d673babc6c484762674802.tar.bz2 historical-a91c756317a589c567d673babc6c484762674802.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" |