We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13fef18 commit b00a125Copy full SHA for b00a125
var/spack/repos/builtin/packages/pango/package.py
@@ -46,7 +46,16 @@ class Pango(AutotoolsPackage):
46
depends_on("cairo")
47
depends_on("cairo~X", when='~X')
48
depends_on("cairo+X", when='+X')
49
+ depends_on("libxft", when='+X')
50
depends_on("glib")
51
52
+ def configure_args(self):
53
+ args = []
54
+ if self.spec.satisfies('+X'):
55
+ args.append('--with-xft')
56
+ else:
57
+ args.append('--without-xft')
58
+ return args
59
+
60
def install(self, spec, prefix):
61
make("install", parallel=False)
0 commit comments