From 58113ca5100fe4f6c39d31c9a2c99bacc9a195b6 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Fri, 25 May 2018 09:47:04 +0200 Subject: dev-lang/julia: fix Prefix installation, thanks Chris Rorvick, bug #651954 Closes: https://bugs.gentoo.org/651954 Package-Manager: Portage-2.3.24, Repoman-2.3.6 --- dev-lang/julia/julia-9999.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'dev-lang/julia/julia-9999.ebuild') diff --git a/dev-lang/julia/julia-9999.ebuild b/dev-lang/julia/julia-9999.ebuild index 86d5657b25d8..8e0c10fd4268 100644 --- a/dev-lang/julia/julia-9999.ebuild +++ b/dev-lang/julia/julia-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -138,7 +138,8 @@ src_compile() { emake cleanall emake VERBOSE=1 julia-release \ - prefix="/usr" DESTDIR="${D}" CC="$(tc-getCC)" CXX="$(tc-getCXX)" + prefix="${EPREFIX}/usr" DESTDIR="${D}" \ + CC="$(tc-getCC)" CXX="$(tc-getCXX)" pax-mark m $(file usr/bin/julia-* | awk -F : '/ELF/ {print $1}') emake } @@ -149,7 +150,8 @@ src_test() { src_install() { emake install \ - prefix="/usr" DESTDIR="${D}" CC="$(tc-getCC)" CXX="$(tc-getCXX)" + prefix="${EPREFIX}/usr" DESTDIR="${D}" \ + CC="$(tc-getCC)" CXX="$(tc-getCXX)" cat > 99julia <<-EOF LDPATH=${EROOT%/}/usr/$(get_libdir)/julia EOF -- cgit v1.2.3-65-gdbad