commit:     77b887acb894169e0c983b010dc43388f3c55b14
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 26 08:59:51 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Tue Jul 26 09:05:45 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77b887ac

dev-lang/ghc: Prefixify STAGE0_AR.

Bug: 540168

Package-Manager: portage-2.3.0

 dev-lang/ghc/ghc-7.10.3.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-lang/ghc/ghc-7.10.3.ebuild b/dev-lang/ghc/ghc-7.10.3.ebuild
index 9721ed4..78ebfbf 100644
--- a/dev-lang/ghc/ghc-7.10.3.ebuild
+++ b/dev-lang/ghc/ghc-7.10.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -16,7 +16,7 @@ if [[ ${CTARGET} = ${CHOST} ]] ; then
 fi
 
 inherit autotools bash-completion-r1 eutils flag-o-matic ghc-package
-inherit multilib pax-utils toolchain-funcs versionator
+inherit multilib pax-utils toolchain-funcs versionator prefix
 
 DESCRIPTION="The Glasgow Haskell Compiler"
 HOMEPAGE="http://www.haskell.org/ghc/";
@@ -322,6 +322,7 @@ relocate_ghc() {
                        "${WORKDIR}/usr/bin/$(cross)runghc-${GHC_PV}" \
                        "$gp_back" \
                        || die "Adding LD_LIBRARY_PATH for wrappers failed"
+               hprefixify "${bin_libpath}"/${PN}*/settings
        fi
 
        # regenerate the binary package cache

Reply via email to