summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-09-03 22:51:03 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-09-03 22:51:03 +0000
commit5bbfd50ac20b37c9da4a11bdf4b57db6950350c5 (patch)
tree7ef355654945e2bb716902b2b53578db3366a14e /x11-proto/glproto/glproto-1.4-r1.ebuild
parentFixed DEPEND to be virtual/opengl and not opengl-update. (diff)
downloadhistorical-5bbfd50ac20b37c9da4a11bdf4b57db6950350c5.tar.gz
historical-5bbfd50ac20b37c9da4a11bdf4b57db6950350c5.tar.bz2
historical-5bbfd50ac20b37c9da4a11bdf4b57db6950350c5.zip
Use eselect instead of opengl-update.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'x11-proto/glproto/glproto-1.4-r1.ebuild')
-rw-r--r--x11-proto/glproto/glproto-1.4-r1.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/x11-proto/glproto/glproto-1.4-r1.ebuild b/x11-proto/glproto/glproto-1.4-r1.ebuild
index 7df2d8f00512..7fe10b0021fa 100644
--- a/x11-proto/glproto/glproto-1.4-r1.ebuild
+++ b/x11-proto/glproto/glproto-1.4-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-proto/glproto/glproto-1.4-r1.ebuild,v 1.5 2005/08/28 14:48:18 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-proto/glproto/glproto-1.4-r1.ebuild,v 1.6 2005/09/03 22:51:03 eradicator Exp $
# Must be before x-modular eclass is inherited
#SNAPSHOT="yes"
@@ -16,7 +16,7 @@ DESCRIPTION="X.Org GL protocol headers"
#SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~s390 ~sh ~sparc ~x86"
#IUSE="X gnome"
-DEPEND=">=x11-base/opengl-update-2.2.2"
+DEPEND="app-admin/eselect-opengl"
#RDEPEND=""
src_install() {
@@ -50,6 +50,5 @@ switch_opengl_implem() {
# Use new opengl-update that will not reset user selected
# OpenGL interface ...
echo
- local opengl_implem="$(${ROOT}/usr/sbin/opengl-update --get-implementation)"
- ${ROOT}/usr/sbin/opengl-update --use-old ${OPENGL_DIR}
+ eselect opengl set --use-old ${OPENGL_DIR}
}