qt: depend on libxext (for qt@3 and @4)

This commit is contained in:
Milton Woods 2018-01-08 19:49:51 +11:00
parent 72cdc2c536
commit 5598e5c581

View File

@ -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')