From f912cce7ee75e9081a9b62dd962126d525885948 Mon Sep 17 00:00:00 2001 From: athanasio Date: Thu, 16 Apr 2020 16:49:43 +0100 Subject: openbabel: fix compilation errors (#16090) - Disable maeparser as it is broken with CMake - Added missing dependencies --- var/spack/repos/builtin/packages/openbabel/package.py | 6 ++++++ 1 file changed, 6 insertions(+) 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') -- cgit v1.2.3-70-g09d2