From 28a3b30c53b8559843e6f5cdf8e065c30e134f0b Mon Sep 17 00:00:00 2001 From: vvolkl Date: Tue, 24 Nov 2020 12:19:10 +0100 Subject: [root] fix rootfit/roofit variant (#20051) * [root] fix rootfit/roofit variant fix typo * Update var/spack/repos/builtin/packages/root/package.py Co-authored-by: Hadrien G. Co-authored-by: Hadrien G. --- var/spack/repos/builtin/packages/root/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/root/package.py b/var/spack/repos/builtin/packages/root/package.py index 97389545ce..f5747b1c56 100644 --- a/var/spack/repos/builtin/packages/root/package.py +++ b/var/spack/repos/builtin/packages/root/package.py @@ -138,7 +138,7 @@ class Root(CMakePackage): description='Enable R ROOT bindings') variant('rpath', default=True, description='Enable RPATH') - variant('rootfit', default=True, + variant('roofit', default=True, description='Build the libRooFit advanced fitting package') variant('root7', default=False, description='Enable ROOT 7 support') @@ -392,7 +392,7 @@ class Root(CMakePackage): define_from_variant('qtgsi', 'qt4'), # See conflicts define_from_variant('r'), define('rfio', False), - define('roofit', False), + define_from_variant('roofit'), define_from_variant('root7'), # See conflicts define('ruby', False), define('sapdb', False), -- cgit v1.2.3-70-g09d2