[MacPorts] #39774: openbabel @2.3.1 missing dependency on wxwidgets-(devel, 3.0)
MacPorts
noreply at macports.org
Mon Jul 22 00:37:57 PDT 2013
#39774: openbabel @2.3.1 missing dependency on wxwidgets-(devel,3.0)
------------------------+---------------------
Reporter: ba306@… | Owner: mlund@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: | Keywords:
Port: openbabel |
------------------------+---------------------
Comment (by ciserlohn@…):
Replying to [comment:8 c.herbig@…]:
> OpenBabel does not //require// wxWidgets unless the cmake -DBUILD_GUI=ON
is set. See [http://open-
babel.readthedocs.org/en/latest/Installation/install.html#compiling-open-
babel compiling open babel]. In the current portfile it is specifically
set to off. Meanwhile the only reference the portfile (or the eigen
dependency) has to pkgconfig is in this line:
> {{{
> depends_lib path:lib/pkgconfig/cairo.pc:cairo port:libiconv
port:libxml2 port:zlib
> }}}
>
> Perhaps that's where the issue comes from?
The problem is that OpenBabel uses pkgconfig to find cairo. Have a look at
http://sourceforge.net/p/openbabel/code/5041/tree/openbabel/tags/openbabel-2-3-2/cmake/modules/FindCairo.cmake.
Therefore OpenBabel must declare a dependency on pkgconfig like this:
{{{
depends_build port:pkgconfig
}}}
--
Ticket URL: <https://trac.macports.org/ticket/39774#comment:9>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list