summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Loeh <kosmikus@gentoo.org>2006-10-04 17:45:35 +0000
committerAndres Loeh <kosmikus@gentoo.org>2006-10-04 17:45:35 +0000
commit1df243da615059602fb4ef8cd6a33dc0348b264a (patch)
tree097c100677c848cbb78e7fb7180e52965f75ffad /eclass/ghc-package.eclass
parentDropped ~ppc-macos, see you in prefix. (diff)
downloadgentoo-2-1df243da615059602fb4ef8cd6a33dc0348b264a.tar.gz
gentoo-2-1df243da615059602fb4ef8cd6a33dc0348b264a.tar.bz2
gentoo-2-1df243da615059602fb4ef8cd6a33dc0348b264a.zip
Use best_version with a fully qualified package name, fixing bug #147685.
Diffstat (limited to 'eclass/ghc-package.eclass')
-rw-r--r--eclass/ghc-package.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/ghc-package.eclass b/eclass/ghc-package.eclass
index b394636959ae..e267fe677ae7 100644
--- a/eclass/ghc-package.eclass
+++ b/eclass/ghc-package.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/ghc-package.eclass,v 1.19 2006/08/02 19:52:04 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ghc-package.eclass,v 1.20 2006/10/04 17:45:35 kosmikus Exp $
#
# Author: Andres Loeh <kosmikus@gentoo.org>
# Maintained by: Haskell herd <haskell@gentoo.org>
@@ -63,7 +63,7 @@ ghc-bestcabalversion() {
if ghc-cabal; then
# We ask portage, not ghc, so that we only pick up
# portage-installed cabal versions.
- cabalpackage="$(best_version cabal)"
+ cabalpackage="$(best_version dev-haskell/cabal)"
cabalversion="${cabalpackage#dev-haskell/cabal-}"
cabalversion="${cabalversion%-r*}"
cabalversion="${cabalversion%_pre*}"