Skip to content

Commit

Permalink
dev-lang/ghc: fix hprefixify with amd64-linux
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/686912
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Signed-off-by: Michael Haubenwallner <[email protected]>
  • Loading branch information
haubi committed May 29, 2019
1 parent 1923513 commit e13e708
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev-lang/ghc/ghc-8.0.2.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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}" \
Expand Down

0 comments on commit e13e708

Please sign in to comment.