summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLevi Baber <baberlevi@gmail.com>2018-03-22 12:06:24 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2018-03-22 12:06:24 -0500
commitc8a8079c341b7122ac24445c4486ea5bfc6377f0 (patch)
tree535b74be9bbcb0851f0f0085212de3cb84a2865a
parent9280eba2146e630a83de766af715eae291b08e04 (diff)
downloadspack-c8a8079c341b7122ac24445c4486ea5bfc6377f0.tar.gz
spack-c8a8079c341b7122ac24445c4486ea5bfc6377f0.tar.bz2
spack-c8a8079c341b7122ac24445c4486ea5bfc6377f0.tar.xz
spack-c8a8079c341b7122ac24445c4486ea5bfc6377f0.zip
meme: fix errors (#6736)
* meme: added perl-xml-parser dependency, resolved issue. still need to fix ghostscript or image-magick, conversion not working. * meme: fixed issue with libxslt/libxml2 conflict, and added imagemagick support * meme: removing libxslt/libxml2 dependency lines * meme: configure args * meme: separating configure args * meme: removing a comment, and hoping for travis to rebuild. site seems back up. * meme: make image-magick optional * meme: add comment referencing PR * meme: bah flake8
-rw-r--r--var/spack/repos/builtin/packages/meme/package.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/meme/package.py b/var/spack/repos/builtin/packages/meme/package.py
index 0ed2d3edd0..dfeed3ae1b 100644
--- a/var/spack/repos/builtin/packages/meme/package.py
+++ b/var/spack/repos/builtin/packages/meme/package.py
@@ -37,19 +37,20 @@ class Meme(AutotoolsPackage):
version('4.11.4', '371f513f82fa0888205748e333003897')
variant('mpi', default=True, description='Enable MPI support')
+ variant('image-magick', default=False, description='Enable image-magick for png output')
depends_on('zlib', type=('link'))
- depends_on('libxml2', type=('link'))
- depends_on('libxslt', type=('link'))
depends_on('libgcrypt', type=('link'))
depends_on('perl', type=('build', 'run'))
depends_on('python@2.7:', type=('build', 'run'))
depends_on('mpi', when='+mpi')
+ depends_on('image-magick', type=('build', 'run'), when='+image-magick')
+ depends_on('perl-xml-parser', type=('build', 'run'))
- # disable mpi support
def configure_args(self):
spec = self.spec
- args = []
+ # have meme build its own versions of libxml2/libxslt, see #6736
+ args = ['--enable-build-libxml2', '--enable-build-libxslt']
if '~mpi' in spec:
args += ['--enable-serial']
return args