diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/exempi/package.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/exempi/package.py b/var/spack/repos/builtin/packages/exempi/package.py index e9b5ecfa1b..878f9f3c2b 100644 --- a/var/spack/repos/builtin/packages/exempi/package.py +++ b/var/spack/repos/builtin/packages/exempi/package.py @@ -23,9 +23,17 @@ class Exempi(AutotoolsPackage): depends_on('iconv') depends_on('boost@1.48.0:') depends_on('pkgconfig') + depends_on('expat') conflicts('%gcc@:4.5') + def patch(self): + # fix make check: Fix undefined reference to `boost::unit_test::unit_test_main`: + # BOOST_TEST_DYN_LINK only works with shlib and when boost is linked after src: + # https://bugs.launchpad.net/widelands/+bug/662908 + # https://github.com/bincrafters/community/issues/127 + filter_file('#define BOOST_TEST_DYN_LINK', '', 'exempi/tests/test-adobesdk.cpp') + def configure_args(self): args = ['--with-boost={0}'.format(self.spec['boost'].prefix)] |