diff options
-rw-r--r-- | var/spack/repos/builtin/packages/gsl/package.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/gsl/package.py b/var/spack/repos/builtin/packages/gsl/package.py index 173f6742fa..b12e7fa3b6 100644 --- a/var/spack/repos/builtin/packages/gsl/package.py +++ b/var/spack/repos/builtin/packages/gsl/package.py @@ -29,9 +29,10 @@ class Gsl(AutotoolsPackage, GNUMirrorPackage): variant('external-cblas', default=False, description='Build against external blas') # from https://dev.gentoo.org/~mgorny/dist/gsl-2.3-cblas.patch.bz2 - patch('gsl-2.3-cblas.patch', when="+external-cblas") + patch('gsl-2.3-cblas.patch', when="@2.3:2.5.99+external-cblas") + + conflicts('+external-cblas', when="@:2.2.99") - conflicts('+external-cblas', when="@:2.2.9999") depends_on('m4', type='build', when='+external-cblas') depends_on('autoconf', type='build', when='+external-cblas') depends_on('automake', type='build', when='+external-cblas') |