Skip to content
Snippets Groups Projects
Commit d5018e77 authored by Massimiliano Culpo's avatar Massimiliano Culpo
Browse files

gnuplot : modifications to build on RHLE 6

parent 0a0cd4b9
No related branches found
No related tags found
No related merge requests found
...@@ -8,9 +8,10 @@ class Fontconfig(Package): ...@@ -8,9 +8,10 @@ class Fontconfig(Package):
version('2.11.1' , 'e75e303b4f7756c2b16203a57ac87eba') version('2.11.1' , 'e75e303b4f7756c2b16203a57ac87eba')
depends_on('freetype') depends_on('freetype')
depends_on('libxml2')
def install(self, spec, prefix): def install(self, spec, prefix):
configure("--prefix=%s" % prefix) configure("--prefix=%s" % prefix, "--enable-libxml2")
make() make()
make("install") make("install")
...@@ -45,7 +45,9 @@ class Gnuplot(Package): ...@@ -45,7 +45,9 @@ class Gnuplot(Package):
depends_on('libgd') depends_on('libgd')
depends_on('cairo') depends_on('cairo')
depends_on('pango') depends_on('pango')
depends_on('wx') depends_on('wx', when='+wx')
variant('wx', default=False, description='Activates wxWidgets terminal')
def install(self, spec, prefix): def install(self, spec, prefix):
# It seems there's an open bug for wxWidgets support # It seems there's an open bug for wxWidgets support
......
...@@ -39,6 +39,8 @@ class Libgd(Package): ...@@ -39,6 +39,8 @@ class Libgd(Package):
version('2.1.1', 'e91a1a99903e460e7ba00a794e72cc1e') version('2.1.1', 'e91a1a99903e460e7ba00a794e72cc1e')
depends_on('libpng')
def install(self, spec, prefix): def install(self, spec, prefix):
with working_dir('spack-build', create=True): with working_dir('spack-build', create=True):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment