From f7885d12cb6d19e410d9b9263de400f894268f5b Mon Sep 17 00:00:00 2001 From: Donnie Berkholz Date: Mon, 4 Oct 2004 06:21:25 +0000 Subject: [PATCH] Drop useless portageq call. --- eclass/matrox.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/matrox.eclass b/eclass/matrox.eclass index 1f611b52cb64..71f9a0399879 100644 --- a/eclass/matrox.eclass +++ b/eclass/matrox.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/matrox.eclass,v 1.6 2004/09/15 23:10:21 kugelfang Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/matrox.eclass,v 1.7 2004/10/04 06:21:25 spyderous Exp $ # # Author: Donnie Berkholz # @@ -28,7 +28,7 @@ matrox_pkg_setup() { check_KV # Set up X11 implementation - X11_IMPLEM_P="$(portageq best_version "${ROOT}" virtual/x11)" + X11_IMPLEM_P="$(best_version virtual/x11)" X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" X11_IMPLEM="${X11_IMPLEM##*\/}" einfo "X11 implementation is ${X11_IMPLEM}." -- 2.26.2