diff options
author | 2013-08-27 01:33:09 +0000 | |
---|---|---|
committer | 2013-08-27 01:33:09 +0000 | |
commit | 1fd143f748b49c06afe3f5d8616990e11cb16178 (patch) | |
tree | f6120cb2755b2e2c38464d43ac1da7f11402cbd1 /games-emulation/dolphin/dolphin-9999.ebuild | |
parent | dolphin-3.5.ebuild: Adds check for binary package to prevent unnecessary chec... (diff) | |
download | gentoo-2-1fd143f748b49c06afe3f5d8616990e11cb16178.tar.gz gentoo-2-1fd143f748b49c06afe3f5d8616990e11cb16178.tar.bz2 gentoo-2-1fd143f748b49c06afe3f5d8616990e11cb16178.zip |
dolphin-9999.ebuild: Adds check for merge type to prevent unnecessary checking of gcc-version when emerging as a binary package
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'games-emulation/dolphin/dolphin-9999.ebuild')
-rw-r--r-- | games-emulation/dolphin/dolphin-9999.ebuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/games-emulation/dolphin/dolphin-9999.ebuild b/games-emulation/dolphin/dolphin-9999.ebuild index 4ccb6f54e9c8..ced449678fe6 100644 --- a/games-emulation/dolphin/dolphin-9999.ebuild +++ b/games-emulation/dolphin/dolphin-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/dolphin/dolphin-9999.ebuild,v 1.4 2013/08/26 18:09:23 twitch153 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/dolphin/dolphin-9999.ebuild,v 1.5 2013/08/27 01:33:09 twitch153 Exp $ EAPI=5 @@ -56,10 +56,13 @@ pkg_pretend() { local ver=4.6.0 local msg="${PN} needs at least GCC ${ver} set to compile." - if ! version_is_at_least ${ver} $(gcc-fullversion); then - eerror ${msg} - die ${msg} + if [[ ${MERGE_TYPE} != binary ]]; then + if ! version_is_at_least ${ver} $(gcc-fullversion); then + eerror ${msg} + die ${msg} + fi fi + } src_prepare() { |