diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2011-05-01 13:52:09 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2011-05-01 13:52:09 +0000 |
commit | 618e47a25d732f1eee52a79ff97d96b0bf87822b (patch) | |
tree | fdbace06ba69d4db5048b0e9048e9f14798afc26 /eclass/kde4-meta.eclass | |
parent | old (diff) | |
download | historical-618e47a25d732f1eee52a79ff97d96b0bf87822b.tar.gz historical-618e47a25d732f1eee52a79ff97d96b0bf87822b.tar.bz2 historical-618e47a25d732f1eee52a79ff97d96b0bf87822b.zip |
Rework the gcc checkup to be less time consuming and move to git-2 eclass
Diffstat (limited to 'eclass/kde4-meta.eclass')
-rw-r--r-- | eclass/kde4-meta.eclass | 28 |
1 files changed, 4 insertions, 24 deletions
diff --git a/eclass/kde4-meta.eclass b/eclass/kde4-meta.eclass index 76b6bbe94e02..c8990f6091d0 100644 --- a/eclass/kde4-meta.eclass +++ b/eclass/kde4-meta.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-meta.eclass,v 1.51 2011/04/06 14:22:14 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-meta.eclass,v 1.52 2011/05/01 13:52:09 scarabeus Exp $ # # @ECLASS: kde4-meta.eclass # @MAINTAINER: @@ -14,16 +14,9 @@ [[ -z ${KMNAME} ]] && die "kde4-meta.eclass inherited but KMNAME not defined - broken ebuild" -inherit kde4-base toolchain-funcs versionator +inherit kde4-base versionator -case ${EAPI:-0} in - 3) - KDEMETA_EXPF="pkg_setup src_unpack src_prepare src_configure src_compile src_test src_install pkg_preinst pkg_postinst pkg_postrm" - ;; - *) - KDEMETA_EXPF="pkg_pretend pkg_setup src_unpack src_prepare src_configure src_compile src_test src_install pkg_preinst pkg_postinst pkg_postrm" - ;; -esac +KDEMETA_EXPF="pkg_setup src_unpack src_prepare src_configure src_compile src_test src_install pkg_preinst pkg_postinst pkg_postrm" EXPORT_FUNCTIONS ${KDEMETA_EXPF} # Add dependencies that all packages in a certain module share. @@ -137,17 +130,6 @@ fi # Specify extra parameters to pass to tar, in kde4-meta_src_extract. # '-xpf -j' are passed to tar by default. -# @FUNCTION: kde4-meta_pkg_pretend -# @DESCRIPTION: -# Currently only checks the gcc version. -kde4-meta_pkg_pretend() { - debug-print-function ${FUNCNAME} "$@" - - slot_is_at_least 4.6 ${SLOT} && ( [[ $(gcc-major-version) -lt 4 ]] || \ - ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 3 ]] ) ) \ - && die "Sorry, but gcc-4.3 and earlier wont work for KDE SC 4.6 (see bug 354837)." -} - # @FUNCTION: kde4-meta_pkg_setup # @DESCRIPTION: # Currently calls its equivalent in kde4-base.eclass(5) and checks the gcc version. @@ -155,8 +137,6 @@ kde4-meta_pkg_pretend() { kde4-meta_pkg_setup() { debug-print-function ${FUNCNAME} "$@" - has pkg_pretend ${KDEMETA_EXPF} || kde4-meta_pkg_pretend - kde4-base_pkg_setup } @@ -178,7 +158,7 @@ kde4-meta_src_unpack() { subversion_bootstrap ;; git) - git_src_unpack + git-2_src_unpack ;; esac fi |