summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevan Franchini <twitch153@gentoo.org>2013-08-27 01:33:09 +0000
committerDevan Franchini <twitch153@gentoo.org>2013-08-27 01:33:09 +0000
commit1fd143f748b49c06afe3f5d8616990e11cb16178 (patch)
treef6120cb2755b2e2c38464d43ac1da7f11402cbd1 /games-emulation
parentdolphin-3.5.ebuild: Adds check for binary package to prevent unnecessary chec... (diff)
downloadgentoo-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')
-rw-r--r--games-emulation/dolphin/ChangeLog6
-rw-r--r--games-emulation/dolphin/dolphin-9999.ebuild11
2 files changed, 12 insertions, 5 deletions
diff --git a/games-emulation/dolphin/ChangeLog b/games-emulation/dolphin/ChangeLog
index 60a09930a53f..2cb5153c2e3e 100644
--- a/games-emulation/dolphin/ChangeLog
+++ b/games-emulation/dolphin/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-emulation/dolphin
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/dolphin/ChangeLog,v 1.5 2013/08/27 01:29:10 twitch153 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/dolphin/ChangeLog,v 1.6 2013/08/27 01:33:09 twitch153 Exp $
+
+ 27 Aug 2013; Devan Franchini <twitch153@gentoo.org> dolphin-9999.ebuild:
+ dolphin-9999.ebuild: Adds check for merge type to prevent unnecessary checking
+ of gcc-version when emerging as a binary package
27 Aug 2013; Devan Franchini <twitch153@gentoo.org> dolphin-3.5.ebuild:
dolphin-3.5.ebuild: Adds check for binary package to prevent unnecessary
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() {