summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorathanasio <athanasio@users.noreply.github.com>2020-04-16 16:49:43 +0100
committerGitHub <noreply@github.com>2020-04-16 10:49:43 -0500
commitf912cce7ee75e9081a9b62dd962126d525885948 (patch)
treef7a7460b4c67cfdce79949b033e7a23b5e508075
parente1777c570840c24276c4241850f72c259db6d310 (diff)
downloadspack-f912cce7ee75e9081a9b62dd962126d525885948.tar.gz
spack-f912cce7ee75e9081a9b62dd962126d525885948.tar.bz2
spack-f912cce7ee75e9081a9b62dd962126d525885948.tar.xz
spack-f912cce7ee75e9081a9b62dd962126d525885948.zip
openbabel: fix compilation errors (#16090)
- Disable maeparser as it is broken with CMake - Added missing dependencies
-rw-r--r--var/spack/repos/builtin/packages/openbabel/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/openbabel/package.py b/var/spack/repos/builtin/packages/openbabel/package.py
index c847c9c1ee..4d3b66d680 100644
--- a/var/spack/repos/builtin/packages/openbabel/package.py
+++ b/var/spack/repos/builtin/packages/openbabel/package.py
@@ -31,9 +31,13 @@ class Openbabel(CMakePackage):
depends_on('swig@2.0:', type='build', when='+python')
depends_on('boost')
depends_on('cairo') # required to support PNG depiction
+ depends_on('pango') # custom cairo requires custom pango
depends_on('eigen@3.0:') # required if using the language bindings
depends_on('libxml2') # required to read/write CML files, XML formats
depends_on('zlib') # required to support reading gzipped files
+ depends_on('rapidjson') # required to support JSON
+ depends_on('libsm')
+ depends_on('uuid')
# Needed for Python 3.6 support
patch('python-3.6-rtld-global.patch', when='@:2.4.1+python')
@@ -54,6 +58,8 @@ class Openbabel(CMakePackage):
else:
args.append('-DPYTHON_BINDINGS=OFF')
+ args.append('-DWITH_MAEPARSER=OFF') # maeparser is currently broken
+
return args
@run_after('install')