ghc-extractportageversion was renamed to ghc-extract-pm-version.

Bug: https://bugs.gentoo.org/843713
Signed-off-by: Ulrich Müller <u...@gentoo.org>
---
 eclass/haskell-cabal.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass
index 64dcabb852b1..541bb4a90ee5 100644
--- a/eclass/haskell-cabal.eclass
+++ b/eclass/haskell-cabal.eclass
@@ -183,7 +183,7 @@ cabal-version() {
                else
                        # We ask portage, not ghc, so that we only pick up
                        # portage-installed cabal versions.
-                       _CABAL_VERSION_CACHE="$(ghc-extractportageversion 
dev-haskell/cabal)"
+                       _CABAL_VERSION_CACHE="$(ghc-extract-pm-version 
dev-haskell/cabal)"
                fi
        fi
        echo "${_CABAL_VERSION_CACHE}"
-- 
2.35.1


Reply via email to