Gentoo Archives: gentoo-commits

From: Guilherme Amadio <amadio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
Date: Thu, 22 Mar 2018 14:24:42
Message-Id: 1521728613.557ed1f0edcbae46df9684bff6c4405b50891f0b.amadio@gentoo
1 commit: 557ed1f0edcbae46df9684bff6c4405b50891f0b
2 Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 22 12:48:17 2018 +0000
4 Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 22 14:23:33 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=557ed1f0
7
8 sci-physics/root: prefix support
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 sci-physics/root/root-6.12.06-r1.ebuild | 7 ++++++-
13 1 file changed, 6 insertions(+), 1 deletion(-)
14
15 diff --git a/sci-physics/root/root-6.12.06-r1.ebuild b/sci-physics/root/root-6.12.06-r1.ebuild
16 index 1908822d66c..2369e76b68b 100644
17 --- a/sci-physics/root/root-6.12.06-r1.ebuild
18 +++ b/sci-physics/root/root-6.12.06-r1.ebuild
19 @@ -9,7 +9,7 @@ CMAKE_MAKEFILE_GENERATOR=emake
20 FORTRAN_NEEDED="fortran"
21 PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
22
23 -inherit cmake-utils elisp-common eutils fortran-2 gnome2-utils \
24 +inherit cmake-utils elisp-common eutils fortran-2 gnome2-utils prefix \
25 python-single-r1 toolchain-funcs user versionator xdg-utils
26
27 DESCRIPTION="C++ data analysis framework and interpreter from CERN"
28 @@ -150,6 +150,8 @@ src_prepare() {
29 rm -r core/lzma/src/*.tar.gz || die
30 LANG=C LC_ALL=C find core/zip -type f -name "[a-z]*" -print0 | xargs -0 rm || die
31
32 + hprefixify build/CMakeLists.txt core/clingutils/CMakeLists.txt
33 +
34 # CSS should use local images
35 sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed"
36 }
37 @@ -163,6 +165,9 @@ src_configure() {
38 -DCMAKE_C_FLAGS="${CFLAGS}"
39 -DCMAKE_CXX_FLAGS="${CXXFLAGS}"
40 -DCMAKE_INSTALL_PREFIX="${EPREFIX}/${MY_PREFIX}"
41 + -DDEFAULT_SYSROOT="${EPREFIX}"
42 + -DGCC_INSTALL_PREFIX="${EPREFIX}/usr"
43 + -DC_INCLUDE_DIRS="${EPREFIX}/usr/local/include:${EPREFIX}/include:${EPREFIX}/usr/include"
44 -Dexplicitlink=ON
45 -Dexceptions=ON
46 -Dfail-on-missing=ON