summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/libdrm/libdrm-2.4.18_pre20100211-r1.ebuild')
-rw-r--r--x11-libs/libdrm/libdrm-2.4.18_pre20100211-r1.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/x11-libs/libdrm/libdrm-2.4.18_pre20100211-r1.ebuild b/x11-libs/libdrm/libdrm-2.4.18_pre20100211-r1.ebuild
index 542983214757..8b4aca31c9a4 100644
--- a/x11-libs/libdrm/libdrm-2.4.18_pre20100211-r1.ebuild
+++ b/x11-libs/libdrm/libdrm-2.4.18_pre20100211-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/libdrm-2.4.18_pre20100211-r1.ebuild,v 1.5 2010/04/18 20:51:36 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/libdrm-2.4.18_pre20100211-r1.ebuild,v 1.6 2010/04/24 16:47:30 chithanh Exp $
EAPI=2
SNAPSHOT="yes"
@@ -30,8 +30,10 @@ PATCHES=(
)
pkg_setup() {
- # Fails to build on ARM if dev-libs/libatomic_ops is installed, bug 297630
- CONFIGURE_OPTIONS="--enable-udev --enable-nouveau-experimental-api $(use_enable !arm intel) $(use_enable !arm radeon)"
+ # libdrm_intel fails to build on some arches if dev-libs/libatomic_ops is
+ # installed, bugs 297630, bug 316421 and bug 316541, and is presently only
+ # useful on amd64 and x86.
+ CONFIGURE_OPTIONS="--enable-udev --enable-nouveau-experimental-api $(! use amd64 && ! use x86 && ! use x86-fbsd && echo "--disable-intel")"
}
pkg_postinst() {