summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2005-04-07 14:02:00 +0000
committerLuca Barbato <lu_zero@gentoo.org>2005-04-07 14:02:00 +0000
commit7855610c0ff1ceac626598e7d0e3be2781df2b43 (patch)
tree86f4f108b8ab9554dab865d3439122e0877e5f66 /media-video/ati-drivers
parentadded ~amd64 to KEYWORDS, fixes #88180 (diff)
downloadgentoo-2-7855610c0ff1ceac626598e7d0e3be2781df2b43.tar.gz
gentoo-2-7855610c0ff1ceac626598e7d0e3be2781df2b43.tar.bz2
gentoo-2-7855610c0ff1ceac626598e7d0e3be2781df2b43.zip
opengl useflag
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-video/ati-drivers')
-rw-r--r--media-video/ati-drivers/ChangeLog5
-rw-r--r--media-video/ati-drivers/ati-drivers-8.10.19.ebuild13
2 files changed, 14 insertions, 4 deletions
diff --git a/media-video/ati-drivers/ChangeLog b/media-video/ati-drivers/ChangeLog
index dcaaec798e38..8c6e5975f355 100644
--- a/media-video/ati-drivers/ChangeLog
+++ b/media-video/ati-drivers/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-video/ati-drivers
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/ati-drivers/ChangeLog,v 1.79 2005/03/21 11:19:06 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/ati-drivers/ChangeLog,v 1.80 2005/04/07 14:02:00 lu_zero Exp $
+
+ 07 Apr 2005; Luca Barbato <lu_zero@gentoo.org> ati-drivers-8.10.19.ebuild:
+ opengl useflag added
21 Mar 2005; Luca Barbato <lu_zero@gentoo.org> ati-drivers-8.10.19.ebuild:
Marked x86
diff --git a/media-video/ati-drivers/ati-drivers-8.10.19.ebuild b/media-video/ati-drivers/ati-drivers-8.10.19.ebuild
index 984d97de3c9a..7442a9daf009 100644
--- a/media-video/ati-drivers/ati-drivers-8.10.19.ebuild
+++ b/media-video/ati-drivers/ati-drivers-8.10.19.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/ati-drivers/ati-drivers-8.10.19.ebuild,v 1.4 2005/03/21 11:19:06 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/ati-drivers/ati-drivers-8.10.19.ebuild,v 1.5 2005/04/07 14:02:00 lu_zero Exp $
-IUSE=""
+IUSE="opengl"
inherit eutils rpm multilib linux-info linux-mod
@@ -162,11 +162,12 @@ src_install-libs() {
# same as the xorg implementation
dosym ../${X11_IMPLEM}/extensions ${ATI_ROOT}/extensions
#Workaround
+ if use opengl; then
sed -e "s:libdir=.*:libdir=${ATI_ROOT}/lib:" \
/usr/${inslibdir}/opengl/${X11_IMPLEM}/lib/libGL.la \
> $D/${ATI_ROOT}/lib/libGL.la
dosym ../${X11_IMPLEM}/include ${ATI_ROOT}/include
-
+ fi
# X and DRI driver
if has_version ">=x11-base/xorg-x11-6.8.0-r4"
then
@@ -212,6 +213,12 @@ pkg_postinst() {
ewarn " Option \"KernelModuleParm\" \"agplock=0\" "
ewarn "That should solve the hangups you could have with Neverwinter Nights"
ewarn "***"
+ if use ! opengl; then
+ ewarn "You don't have the opengl useflag enabled, you won't be able to build"
+ ewarn "opengl applications nor use opengl driver features, if that isn't"
+ ewarn "the intended behaviour please add opengl to your useflag and issue"
+ ewarn "# emerge -Nu ati-drivers"
+ fi
# DRM module
update-modules
}