From 5598e5c5814d1cc023b8fc15dfba3b81e734b06b Mon Sep 17 00:00:00 2001 From: Milton Woods Date: Mon, 8 Jan 2018 19:49:51 +1100 Subject: [PATCH] qt: depend on libxext (for qt@3 and @4) --- var/spack/repos/builtin/packages/qt/package.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/var/spack/repos/builtin/packages/qt/package.py b/var/spack/repos/builtin/packages/qt/package.py index 385147720f0..7e1d9e27583 100644 --- a/var/spack/repos/builtin/packages/qt/package.py +++ b/var/spack/repos/builtin/packages/qt/package.py @@ -127,9 +127,14 @@ class Qt(Package): # OpenGL hardware acceleration depends_on("mesa", when='@4:+opengl') + depends_on("libxcb", when=sys.platform != 'darwin') depends_on("libx11", when=sys.platform != 'darwin') + # This is only needed for qt@3:4.99, but combining + # spec string with boolean expression does not work: + depends_on("libxext", when=sys.platform != 'darwin') + # Webkit depends_on("flex", when='+webkit', type='build') depends_on("bison", when='+webkit', type='build')