public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in games-emulation/dolphin: dolphin-9999.ebuild dolphin-3.5.ebuild ChangeLog
       [not found] <20130826071936.C0A8A2004C@flycatcher.gentoo.org>
@ 2013-08-26 13:10 ` hasufell
  0 siblings, 0 replies; only message in thread
From: hasufell @ 2013-08-26 13:10 UTC (permalink / raw
  To: gentoo-dev, twitch153

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 ]]


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-08-26 13:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20130826071936.C0A8A2004C@flycatcher.gentoo.org>
2013-08-26 13:10 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in games-emulation/dolphin: dolphin-9999.ebuild dolphin-3.5.ebuild ChangeLog hasufell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox