summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2011-07-03 10:45:00 +0000
committerRaúl Porcel <armin76@gentoo.org>2011-07-03 10:45:00 +0000
commitc1b9ca53441c151f0a873c84c601a4831439f679 (patch)
treeffaed85eab32fe0240dd6c8fa9255a71ea9d3b2f /x11-libs/cairo/cairo-9999.ebuild
parentFix segfault with recent ffmpeg versions (bug #373423 by Mike MacDonald) (diff)
downloadhistorical-c1b9ca53441c151f0a873c84c601a4831439f679.tar.gz
historical-c1b9ca53441c151f0a873c84c601a4831439f679.tar.bz2
historical-c1b9ca53441c151f0a873c84c601a4831439f679.zip
Add --disable-atomic for sh
Package-Manager: portage-2.1.10.3/cvs/Linux ia64
Diffstat (limited to 'x11-libs/cairo/cairo-9999.ebuild')
-rw-r--r--x11-libs/cairo/cairo-9999.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/x11-libs/cairo/cairo-9999.ebuild b/x11-libs/cairo/cairo-9999.ebuild
index d5c5aac5b4b5..005f90a5e53f 100644
--- a/x11-libs/cairo/cairo-9999.ebuild
+++ b/x11-libs/cairo/cairo-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-9999.ebuild,v 1.12 2011/04/29 12:05:19 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-9999.ebuild,v 1.13 2011/07/03 10:45:00 armin76 Exp $
EAPI=4
@@ -86,6 +86,10 @@ src_prepare() {
src_configure() {
local myopts
+ # SuperH doesn't have native atomics yet
+ use sh && myopts+=" --disable-atomic"
+
+
[[ ${CHOST} == *-interix* ]] && append-flags -D_REENTRANT
# http://bugs.freedesktop.org/show_bug.cgi?id=15463
[[ ${CHOST} == *-solaris* ]] && append-flags -D_POSIX_PTHREAD_SEMANTICS