summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorLuigi Calori <luigi.calori@gmail.com>2016-02-10 14:58:00 +0100
committerLuigi Calori <luigi.calori@gmail.com>2016-02-10 14:58:00 +0100
commitfe8aca630c65e1f0324bfebeca11ca1cb3d4183c (patch)
tree2ca475c239967d3de4e55fd97d21b745d56c1ec0 /var
parentf729cf621ad463c953a81f4963b87535508583da (diff)
downloadspack-fe8aca630c65e1f0324bfebeca11ca1cb3d4183c.tar.gz
spack-fe8aca630c65e1f0324bfebeca11ca1cb3d4183c.tar.bz2
spack-fe8aca630c65e1f0324bfebeca11ca1cb3d4183c.tar.xz
spack-fe8aca630c65e1f0324bfebeca11ca1cb3d4183c.zip
add a variant to Qt for make dependency on mesa swlwctable
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/qt/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/qt/package.py b/var/spack/repos/builtin/packages/qt/package.py
index e8d843519d..91afa420c1 100644
--- a/var/spack/repos/builtin/packages/qt/package.py
+++ b/var/spack/repos/builtin/packages/qt/package.py
@@ -23,6 +23,7 @@ class Qt(Package):
version('3.3.8b', '9f05b4125cfe477cc52c9742c3c09009',
url="http://download.qt.io/archive/qt/3/qt-x11-free-3.3.8b.tar.gz")
+ variant('mesa', default=False, description='depend on mesa')
# Add patch for compile issues with qt3 found with use in the OpenSpeedShop project
variant('krellpatch', default=False, description="build with openspeedshop based patch.")
patch('qt3krell.patch', when='@3.3.8b+krellpatch')
@@ -48,7 +49,7 @@ class Qt(Package):
# depends_on("icu4c")
# OpenGL hardware acceleration
- depends_on("mesa", when='@4:')
+ depends_on("mesa", when='@4:+mesa')
depends_on("libxcb")