Skip to content

Commit f912cce

Browse files
authored
openbabel: fix compilation errors (#16090)
- Disable maeparser as it is broken with CMake - Added missing dependencies
1 parent e1777c5 commit f912cce

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • var/spack/repos/builtin/packages/openbabel

var/spack/repos/builtin/packages/openbabel/package.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,13 @@ class Openbabel(CMakePackage):
3131
depends_on('swig@2.0:', type='build', when='+python')
3232
depends_on('boost')
3333
depends_on('cairo') # required to support PNG depiction
34+
depends_on('pango') # custom cairo requires custom pango
3435
depends_on('eigen@3.0:') # required if using the language bindings
3536
depends_on('libxml2') # required to read/write CML files, XML formats
3637
depends_on('zlib') # required to support reading gzipped files
38+
depends_on('rapidjson') # required to support JSON
39+
depends_on('libsm')
40+
depends_on('uuid')
3741

3842
# Needed for Python 3.6 support
3943
patch('python-3.6-rtld-global.patch', when='@:2.4.1+python')
@@ -54,6 +58,8 @@ def cmake_args(self):
5458
else:
5559
args.append('-DPYTHON_BINDINGS=OFF')
5660

61+
args.append('-DWITH_MAEPARSER=OFF') # maeparser is currently broken
62+
5763
return args
5864

5965
@run_after('install')

0 commit comments

Comments
 (0)