diff options
-rw-r--r-- | var/spack/repos/builtin/packages/dia/package.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/dia/package.py b/var/spack/repos/builtin/packages/dia/package.py index 014ddf084c..d04cce27dc 100644 --- a/var/spack/repos/builtin/packages/dia/package.py +++ b/var/spack/repos/builtin/packages/dia/package.py @@ -33,7 +33,7 @@ class Dia(Package): version('0.97.3', '0e744a0f6a6c4cb6a089e4d955392c3c') depends_on('intltool', type='build') - depends_on('gtkplus@2.6.0:') + depends_on('gtkplus@2.6.0:+X') depends_on('libxslt') depends_on('python') depends_on('swig') @@ -42,6 +42,7 @@ class Dia(Package): depends_on('libxinerama') depends_on('libxrender') depends_on('libxml2') + depends_on('freetype') # TODO: Optional dependencies, not yet supported by Spack # depends_on('libart') @@ -49,7 +50,7 @@ class Dia(Package): def url_for_version(self, version): """Handle Dia's version-based custom URLs.""" - return 'https://ftp.gnome.org/pub/gnome/source/dia/%s/dia-%s.tar.xz' % (version.up_to(2), version) + return 'https://ftp.gnome.org/pub/gnome/sources/dia/%s/dia-%s.tar.xz' % (version.up_to(2), version) def install(self, spec, prefix): |