summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2016-08-29 17:26:22 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2016-09-06 16:00:22 -0400
commitfca26c0b7916142471a2dda53ac1448a912eedda (patch)
tree547fca0ff388a8d73b64b1019cdbca9246f4906e /var
parent67462ca65a00a718e7713ecd6257de5309de4a14 (diff)
downloadspack-fca26c0b7916142471a2dda53ac1448a912eedda.tar.gz
spack-fca26c0b7916142471a2dda53ac1448a912eedda.tar.bz2
spack-fca26c0b7916142471a2dda53ac1448a912eedda.tar.xz
spack-fca26c0b7916142471a2dda53ac1448a912eedda.zip
qt: make -no-phonon specific to qt4
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/qt/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/qt/package.py b/var/spack/repos/builtin/packages/qt/package.py
index 25c896074b..5fdd07c7a5 100644
--- a/var/spack/repos/builtin/packages/qt/package.py
+++ b/var/spack/repos/builtin/packages/qt/package.py
@@ -158,7 +158,6 @@ class Qt(Package):
'-shared',
'-confirm-license',
'-openssl-linked',
- '-no-phonon',
'-optimized-qmake',
'-no-openvg',
'-no-pch',
@@ -166,6 +165,9 @@ class Qt(Package):
'-no-nis'
]
+ if '@4' in self.spec:
+ config_args.append('-no-phonon')
+
if '+dbus' in self.spec:
config_args.append('-dbus-linked')
else: