commit:     4036e4259226158fe95da9dbe4bf255976783532
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  2 20:29:26 2017 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Sep  2 20:29:36 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4036e425

dev-lang/ghc: update A variable to match .xz tarball

*-darwin hardcodes tarball extension to avoid our
prebuilt binaries. Bug noticed by yuuko.

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-lang/ghc/ghc-8.0.2.ebuild | 2 +-
 dev-lang/ghc/ghc-8.2.1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lang/ghc/ghc-8.0.2.ebuild b/dev-lang/ghc/ghc-8.0.2.ebuild
index dd4d223aeb6..de344882f22 100644
--- a/dev-lang/ghc/ghc-8.0.2.ebuild
+++ b/dev-lang/ghc/ghc-8.0.2.ebuild
@@ -384,7 +384,7 @@ src_unpack() {
        # unpacked separately, so prevent them from being unpacked
        local ONLYA=${A}
        case ${CHOST} in
-               *-darwin* | *-solaris*)  ONLYA=${GHC_P}-src.tar.bz2  ;;
+               *-darwin* | *-solaris*)  ONLYA=${GHC_P}-src.tar.xz  ;;
        esac
        unpack ${ONLYA}
 }

diff --git a/dev-lang/ghc/ghc-8.2.1.ebuild b/dev-lang/ghc/ghc-8.2.1.ebuild
index 56c31c83f65..d15bb059b7b 100644
--- a/dev-lang/ghc/ghc-8.2.1.ebuild
+++ b/dev-lang/ghc/ghc-8.2.1.ebuild
@@ -390,7 +390,7 @@ src_unpack() {
        # unpacked separately, so prevent them from being unpacked
        local ONLYA=${A}
        case ${CHOST} in
-               *-darwin* | *-solaris*)  ONLYA=${GHC_P}-src.tar.bz2  ;;
+               *-darwin* | *-solaris*)  ONLYA=${GHC_P}-src.tar.xz  ;;
        esac
        unpack ${ONLYA}
 }

Reply via email to