summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-libs/pixman/ChangeLog5
-rw-r--r--x11-libs/pixman/pixman-0.12.0.ebuild12
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
}