[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in games-emulation/dolphin: dolphin-9999.ebuild
From:       hasufell <hasufell () gentoo ! org>
Date:       2013-08-26 13:10:56
Message-ID: 521B53E0.4050904 () gentoo ! org
[Download RAW message or body]

On 08/26/2013 09:19 AM, Devan Franchini (twitch153) wrote:
>  
> -src_prepare() {
> +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}
> +	fi
> +}
>  
> -	version_is_at_least 4.6.0 $(gcc-fullversion) || die "${PN} needs >=gcc-4.6.0 set to compile."
> +src_prepare() {
>  


This can break binpkgs, use
[[ ${MERGE_TYPE} != binary ]]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic