diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2008-11-29 22:49:52 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2008-11-29 22:49:52 +0000 |
commit | 7d5cdf2ffdeacef6800cb4941cc96e21fba30f2c (patch) | |
tree | aa7693ad25d5cfd045edde3f117b550b6c8cc55f /net-irc | |
parent | Automated update of use.local.desc (diff) | |
download | gentoo-2-7d5cdf2ffdeacef6800cb4941cc96e21fba30f2c.tar.gz gentoo-2-7d5cdf2ffdeacef6800cb4941cc96e21fba30f2c.tar.bz2 gentoo-2-7d5cdf2ffdeacef6800cb4941cc96e21fba30f2c.zip |
Include a check for a recent enough gcc, bug #246990.
(Portage version: 2.2_rc16/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64)
Diffstat (limited to 'net-irc')
-rw-r--r-- | net-irc/xchat-gnome/ChangeLog | 6 | ||||
-rw-r--r-- | net-irc/xchat-gnome/xchat-gnome-0.24.1.ebuild | 11 |
2 files changed, 14 insertions, 3 deletions
diff --git a/net-irc/xchat-gnome/ChangeLog b/net-irc/xchat-gnome/ChangeLog index e1d26f60c2e8..67ff1a101a94 100644 --- a/net-irc/xchat-gnome/ChangeLog +++ b/net-irc/xchat-gnome/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-irc/xchat-gnome # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat-gnome/ChangeLog,v 1.40 2008/11/21 22:00:30 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat-gnome/ChangeLog,v 1.41 2008/11/29 22:49:52 eva Exp $ + + 29 Nov 2008; Gilles Dartiguelongue <eva@gentoo.org> + xchat-gnome-0.24.1.ebuild: + Include a check for a recent enough gcc, bug #246990. 21 Nov 2008; Gilles Dartiguelongue <eva@gentoo.org> -files/0.17-segfault-fix.patch, diff --git a/net-irc/xchat-gnome/xchat-gnome-0.24.1.ebuild b/net-irc/xchat-gnome/xchat-gnome-0.24.1.ebuild index c1382615cc97..9279104b2986 100644 --- a/net-irc/xchat-gnome/xchat-gnome-0.24.1.ebuild +++ b/net-irc/xchat-gnome/xchat-gnome-0.24.1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat-gnome/xchat-gnome-0.24.1.ebuild,v 1.2 2008/11/21 22:00:30 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat-gnome/xchat-gnome-0.24.1.ebuild,v 1.3 2008/11/29 22:49:52 eva Exp $ -inherit gnome2 eutils +inherit gnome2 eutils toolchain-funcs DESCRIPTION="GNOME frontend for the popular X-Chat IRC client" HOMEPAGE="http://xchat-gnome.navi.cx/" @@ -38,6 +38,13 @@ DEPEND="${RDEPEND} # gnome-base/gnome-common is temporarily needed for re-creating configure pkg_setup() { + if [[ $(gcc-major-version) -lt 4 || ( + $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 1 || ( + $(gcc-major-version) -eq 4 && $(gcc-minor-version) -eq 1 && $(gcc-micro-version) -lt 3 ) ) ]]; then + ewarn "${P} requires >=sys-devel/gcc-4.1.3 to compile" + die "Please select >=sys-devel/gcc-4.1.3" + fi + if use sound && ! built_with_use media-libs/libcanberra gtk; then eerror "You need to rebuild media-libs/libcanberra with gtk support." die "Rebuild media-libs/libcanberra with USE='gtk'" |