summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haubenwallner <haubi@gentoo.org>2019-05-28 16:36:14 +0200
committerMichael Haubenwallner <haubi@gentoo.org>2019-05-29 08:56:39 +0200
commite13e70853e6bebd89614de1de89ddc8d57bd0331 (patch)
tree2ba51a9363f5a3a479cf05ec864b2eb145230050 /dev-lang/ghc
parentdev-util/sysdig: Bump to 0.26.1 (incl. 5.1 kernel support) (diff)
downloadgentoo-e13e70853e6bebd89614de1de89ddc8d57bd0331.tar.gz
gentoo-e13e70853e6bebd89614de1de89ddc8d57bd0331.tar.bz2
gentoo-e13e70853e6bebd89614de1de89ddc8d57bd0331.zip
dev-lang/ghc: fix hprefixify with amd64-linux
Closes: https://bugs.gentoo.org/686912 Package-Manager: Portage-2.3.62, Repoman-2.3.11 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>
Diffstat (limited to 'dev-lang/ghc')
-rw-r--r--dev-lang/ghc/ghc-8.0.2.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-lang/ghc/ghc-8.0.2.ebuild b/dev-lang/ghc/ghc-8.0.2.ebuild
index 6e573c0fff30..48eb8d91db6e 100644
--- a/dev-lang/ghc/ghc-8.0.2.ebuild
+++ b/dev-lang/ghc/ghc-8.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -293,6 +293,7 @@ relocate_ghc() {
# but then USE=binary would result in installing
# in '${bin_libdir}'
mv "${bin_ghc_prefix}/${bin_libdir}" "${bin_ghc_prefix}/$(get_libdir)" || die
+ bin_libpath=${bin_ghc_prefix}/$(get_libdir)
relocate_path "/usr/${bin_libdir}" "/usr/$(get_libdir)" \
"${WORKDIR}/usr/bin/$(cross)ghc-${GHC_PV}" \