summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Gimenez <gimenez1@llnl.gov>2015-08-07 07:58:04 -0700
committerAlfredo Gimenez <gimenez1@llnl.gov>2015-08-07 07:58:04 -0700
commitd6bf9c9887a26dc8237a8962cb1aad48d85cbaff (patch)
tree3d0c8ab941695a2aee3709facef7c725ae6894a9
parent067ecb90b901ce8b64569986d4b1ff9ad2279a54 (diff)
downloadspack-d6bf9c9887a26dc8237a8962cb1aad48d85cbaff.tar.gz
spack-d6bf9c9887a26dc8237a8962cb1aad48d85cbaff.tar.bz2
spack-d6bf9c9887a26dc8237a8962cb1aad48d85cbaff.tar.xz
spack-d6bf9c9887a26dc8237a8962cb1aad48d85cbaff.zip
Cscope vim variant depends on cscope
-rw-r--r--var/spack/packages/vim/package.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/var/spack/packages/vim/package.py b/var/spack/packages/vim/package.py
index 229929539e..710d5dfffc 100644
--- a/var/spack/packages/vim/package.py
+++ b/var/spack/packages/vim/package.py
@@ -35,9 +35,11 @@ class Vim(Package):
variant('ruby', default=False, description="build with Ruby")
depends_on('ruby', when='+ruby')
- variant('cscope', default=False, description="build cscope support")
+ variant('cscope', default=False, description="build with cscope support")
+ depends_on('cscope', when='+cscope')
- variant('gui', default=False, description="build gui (gvim)")
+ variant('gui', default=False, description="build with gui (gvim)")
+ # virtual dependency?
def install(self, spec, prefix):
feature_set = None