diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2008-09-29 17:56:18 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2008-09-29 17:56:18 +0000 |
commit | f80ee395fd5edf6c93aaf8343cd5bda1dc9d6330 (patch) | |
tree | 128747ee6f8352e781a968e6c190097f9d7d52a0 /x11-libs | |
parent | better icon handling with modified patch from Pacho Ramos (bug #238966) (diff) | |
download | gentoo-2-f80ee395fd5edf6c93aaf8343cd5bda1dc9d6330.tar.gz gentoo-2-f80ee395fd5edf6c93aaf8343cd5bda1dc9d6330.tar.bz2 gentoo-2-f80ee395fd5edf6c93aaf8343cd5bda1dc9d6330.zip |
(#238716) sse2 + gcc 4.2 check is only required for x86.
(Portage version: 2.2_rc11/cvs/Linux 2.6.27-rc7 x86_64)
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/pixman/ChangeLog | 5 | ||||
-rw-r--r-- | x11-libs/pixman/pixman-0.12.0.ebuild | 12 |
2 files changed, 11 insertions, 6 deletions
diff --git a/x11-libs/pixman/ChangeLog b/x11-libs/pixman/ChangeLog index 89463aa47543..8c15af556fdc 100644 --- a/x11-libs/pixman/ChangeLog +++ b/x11-libs/pixman/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for x11-libs/pixman # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/pixman/ChangeLog,v 1.20 2008/09/26 05:34:31 compnerd Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/pixman/ChangeLog,v 1.21 2008/09/29 17:56:18 dberkholz Exp $ + + 29 Sep 2008; Donnie Berkholz <dberkholz@gentoo.org>; pixman-0.12.0.ebuild: + (#238716) sse2 + gcc 4.2 check is only required for x86. *pixman-0.12.0 (26 Sep 2008) diff --git a/x11-libs/pixman/pixman-0.12.0.ebuild b/x11-libs/pixman/pixman-0.12.0.ebuild index f31f0c5931d7..0ab992f02a81 100644 --- a/x11-libs/pixman/pixman-0.12.0.ebuild +++ b/x11-libs/pixman/pixman-0.12.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/pixman/pixman-0.12.0.ebuild,v 1.1 2008/09/26 05:34:31 compnerd Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/pixman/pixman-0.12.0.ebuild,v 1.2 2008/09/29 17:56:18 dberkholz Exp $ # Must be before x-modular eclass is inherited #SNAPSHOT="yes" @@ -21,10 +21,12 @@ pkg_setup() { die "SSE2 selected without SSE" fi - if use sse2 && ! $(version_is_at_least "4.2" "$(gcc-version)"); then - eerror "SSE2 instructions require GCC 4.2 or higher. Either use" - eerror "GCC 4.2 or higher or USE='-sse2'" - die "SSE2 instructions require GCC 4.2 or higher" + if use x86; then + if use sse2 && ! $(version_is_at_least "4.2" "$(gcc-version)"); then + eerror "SSE2 instructions require GCC 4.2 or higher. Either use" + eerror "GCC 4.2 or higher or USE='-sse2'" + die "SSE2 instructions require GCC 4.2 or higher" + fi fi } |