sci-physics/root: Fix clean-up code and compile options
authorJochen Klein <jochen.klein@cern.ch>
Mon, 17 Sep 2018 15:18:00 +0000 (17:18 +0200)
committerGuilherme Amadio <amadio@gentoo.org>
Mon, 17 Sep 2018 15:53:26 +0000 (17:53 +0200)
Closes: https://github.com/gentoo/gentoo/pull/9894

Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
sci-physics/root/root-9999.ebuild

index ebbfb3fcd5276b4b222d0f9258943dffc60e5fb6..12ada06493f27ccd2c352146d44c67d4b0f737a2 100644 (file)
@@ -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