summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2016-09-06 16:02:25 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2016-09-06 16:53:38 -0400
commit77611913c68bda147ec778215518abd5a09241e2 (patch)
tree950c522b5d088d4cf8104d9dae45ed1460ce6fed
parent112122bc28bea05e960691f4ee87acd53d15d509 (diff)
downloadspack-77611913c68bda147ec778215518abd5a09241e2.tar.gz
spack-77611913c68bda147ec778215518abd5a09241e2.tar.bz2
spack-77611913c68bda147ec778215518abd5a09241e2.tar.xz
spack-77611913c68bda147ec778215518abd5a09241e2.zip
qt: only pass -qt-xcb on non-OS X
-rw-r--r--var/spack/repos/builtin/packages/qt/package.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/qt/package.py b/var/spack/repos/builtin/packages/qt/package.py
index 3217b90215..3032e81f78 100644
--- a/var/spack/repos/builtin/packages/qt/package.py
+++ b/var/spack/repos/builtin/packages/qt/package.py
@@ -237,12 +237,18 @@ class Qt(Package):
@when('@5.7:')
def configure(self):
+ args = self.common_config_args
+
+ if not sys.platform == 'darwin':
+ args.extend([
+ '-qt-xcb',
+ ])
+
configure('-no-eglfs',
'-no-directfb',
- '-qt-xcb',
'{0}-gtk'.format('' if '+gtk' in self.spec else '-no'),
'-skip', 'webengine',
- *self.common_config_args)
+ *args)
def install(self, spec, prefix):
self.configure()