From a1a41bb4c71a8b74d9fb85d4cd97a1d889a44dcb Mon Sep 17 00:00:00 2001 From: Chris MacMackin Date: Fri, 16 Dec 2016 20:22:13 -0400 Subject: graphviz: fixed build error due to specifying ltdl lib but not include. (#2609) * graphviz: fixed build error due to specifying ltdl lib but not include. * graphviz: Fixed dependencies on libtool and expat. --- var/spack/repos/builtin/packages/graphviz/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/graphviz/package.py b/var/spack/repos/builtin/packages/graphviz/package.py index bb23513d2f..1bf6c70926 100644 --- a/var/spack/repos/builtin/packages/graphviz/package.py +++ b/var/spack/repos/builtin/packages/graphviz/package.py @@ -48,7 +48,8 @@ class Graphviz(AutotoolsPackage): depends_on("python") depends_on("ghostscript") depends_on("freetype") - depends_on("libtool", type='build') + depends_on("expat") + depends_on("libtool") depends_on("pkg-config", type='build') def configure_args(self): @@ -62,7 +63,6 @@ class Graphviz(AutotoolsPackage): # include if sys.platform == 'darwin': options.append('CFLAGS=-I/opt/X11/include') - options.append('--with-ltdl-lib=%s/lib' % self.spec['libtool'].prefix) # A hack to patch config.guess in the libltdl sub directory shutil.copyfile('./config/config.guess', 'libltdl/config/config.guess') -- cgit v1.2.3-70-g09d2