From 5bbfd50ac20b37c9da4a11bdf4b57db6950350c5 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Sat, 3 Sep 2005 22:51:03 +0000 Subject: Use eselect instead of opengl-update. Package-Manager: portage-2.0.51.22-r2 --- x11-proto/glproto/glproto-1.4-r1.ebuild | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'x11-proto/glproto/glproto-1.4-r1.ebuild') 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} } -- cgit v1.2.3-65-gdbad