Skip to content
Snippets Groups Projects
Commit a1a41bb4 authored by Chris MacMackin's avatar Chris MacMackin Committed by becker33
Browse files

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.
parent 394f0109
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,8 @@ class Graphviz(AutotoolsPackage): ...@@ -48,7 +48,8 @@ class Graphviz(AutotoolsPackage):
depends_on("python") depends_on("python")
depends_on("ghostscript") depends_on("ghostscript")
depends_on("freetype") depends_on("freetype")
depends_on("libtool", type='build') depends_on("expat")
depends_on("libtool")
depends_on("pkg-config", type='build') depends_on("pkg-config", type='build')
def configure_args(self): def configure_args(self):
...@@ -62,7 +63,6 @@ def configure_args(self): ...@@ -62,7 +63,6 @@ def configure_args(self):
# include <X11/Xlib.h> # include <X11/Xlib.h>
if sys.platform == 'darwin': if sys.platform == 'darwin':
options.append('CFLAGS=-I/opt/X11/include') 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 # A hack to patch config.guess in the libltdl sub directory
shutil.copyfile('./config/config.guess', 'libltdl/config/config.guess') shutil.copyfile('./config/config.guess', 'libltdl/config/config.guess')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment