dev-lang/ghc: update A variable to match .xz tarball
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 2 Sep 2017 20:29:26 +0000 (21:29 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 2 Sep 2017 20:29:36 +0000 (21:29 +0100)
*-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
dev-lang/ghc/ghc-8.2.1.ebuild

index dd4d223aeb6311ebf00df6adaf96805aa66592c7..de344882f22f6a7cf15baa4a34ec07f41d59688f 100644 (file)
@@ -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}
 }
index 56c31c83f65dc8cb83f296c6b1b55b18666c21bc..d15bb059b7ba973a74a35c1e4de92636336a1fd8 100644 (file)
@@ -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}
 }