gnuplot : modifications to build on RHLE 6

This commit is contained in:
Massimiliano Culpo 2015-12-16 09:32:48 +01:00
parent 0a0cd4b9d3
commit d5018e77a3
3 changed files with 7 additions and 2 deletions

View File

@ -8,9 +8,10 @@ class Fontconfig(Package):
version('2.11.1' , 'e75e303b4f7756c2b16203a57ac87eba')
depends_on('freetype')
depends_on('libxml2')
def install(self, spec, prefix):
configure("--prefix=%s" % prefix)
configure("--prefix=%s" % prefix, "--enable-libxml2")
make()
make("install")

View File

@ -45,7 +45,9 @@ class Gnuplot(Package):
depends_on('libgd')
depends_on('cairo')
depends_on('pango')
depends_on('wx')
depends_on('wx', when='+wx')
variant('wx', default=False, description='Activates wxWidgets terminal')
def install(self, spec, prefix):
# It seems there's an open bug for wxWidgets support

View File

@ -39,6 +39,8 @@ class Libgd(Package):
version('2.1.1', 'e91a1a99903e460e7ba00a794e72cc1e')
depends_on('libpng')
def install(self, spec, prefix):
with working_dir('spack-build', create=True):