commit:     22932baae7058f656cbf63a3f484b499e3275e21
Author:     Jochen Klein <jochen.klein <AT> cern <DOT> ch>
AuthorDate: Mon Sep 17 15:18:00 2018 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Sep 17 15:53:26 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22932baa

sci-physics/root: Fix clean-up code and compile options

Closes: https://github.com/gentoo/gentoo/pull/9894

Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>

 sci-physics/root/root-9999.ebuild | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/sci-physics/root/root-9999.ebuild 
b/sci-physics/root/root-9999.ebuild
index ebbfb3fcd52..12ada06493f 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -198,6 +198,7 @@ src_configure() {
                -Dccache=OFF # use ccache via portage
                -Dcastor=OFF
                -Dchirp=OFF
+               -Dclad=OFF
                -Dcling=ON # cling=OFF is broken
                -Dcocoa=$(usex aqua)
                -Dcuda=$(usex cuda)
@@ -308,15 +309,11 @@ src_install() {
                elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
        fi
 
-       if ! use gdml; then
-               rm -r geom || die
-       fi
-
        if ! use examples; then
                rm -r test tutorials || die
        fi
 
-       if use tmva; then
+       if ! use tmva; then
                rm -r tmva || die
        fi
 

Reply via email to