diff options
author | Guilherme Amadio <amadio@gentoo.org> | 2018-03-22 13:48:17 +0100 |
---|---|---|
committer | Guilherme Amadio <amadio@gentoo.org> | 2018-03-22 15:23:33 +0100 |
commit | 557ed1f0edcbae46df9684bff6c4405b50891f0b (patch) | |
tree | a618c6d075df47d072f2089afbe4a578e533825a /sci-physics | |
parent | sci-physics/root: do not look for ftgl and gl2ps with USE=-opengl (diff) | |
download | gentoo-557ed1f0edcbae46df9684bff6c4405b50891f0b.tar.gz gentoo-557ed1f0edcbae46df9684bff6c4405b50891f0b.tar.bz2 gentoo-557ed1f0edcbae46df9684bff6c4405b50891f0b.zip |
sci-physics/root: prefix support
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/root/root-6.12.06-r1.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sci-physics/root/root-6.12.06-r1.ebuild b/sci-physics/root/root-6.12.06-r1.ebuild index 1908822d66c8..2369e76b68b9 100644 --- a/sci-physics/root/root-6.12.06-r1.ebuild +++ b/sci-physics/root/root-6.12.06-r1.ebuild @@ -9,7 +9,7 @@ CMAKE_MAKEFILE_GENERATOR=emake FORTRAN_NEEDED="fortran" PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) -inherit cmake-utils elisp-common eutils fortran-2 gnome2-utils \ +inherit cmake-utils elisp-common eutils fortran-2 gnome2-utils prefix \ python-single-r1 toolchain-funcs user versionator xdg-utils DESCRIPTION="C++ data analysis framework and interpreter from CERN" @@ -150,6 +150,8 @@ src_prepare() { rm -r core/lzma/src/*.tar.gz || die LANG=C LC_ALL=C find core/zip -type f -name "[a-z]*" -print0 | xargs -0 rm || die + hprefixify build/CMakeLists.txt core/clingutils/CMakeLists.txt + # CSS should use local images sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed" } @@ -163,6 +165,9 @@ src_configure() { -DCMAKE_C_FLAGS="${CFLAGS}" -DCMAKE_CXX_FLAGS="${CXXFLAGS}" -DCMAKE_INSTALL_PREFIX="${EPREFIX}/${MY_PREFIX}" + -DDEFAULT_SYSROOT="${EPREFIX}" + -DGCC_INSTALL_PREFIX="${EPREFIX}/usr" + -DC_INCLUDE_DIRS="${EPREFIX}/usr/local/include:${EPREFIX}/include:${EPREFIX}/usr/include" -Dexplicitlink=ON -Dexceptions=ON -Dfail-on-missing=ON |