[MacPorts] #25475: cmake: libidn dependency should be depends_lib not depends_build (was: cmake missing dependency)
MacPorts
noreply at macports.org
Thu Jul 8 11:51:48 PDT 2010
#25475: cmake: libidn dependency should be depends_lib not depends_build
------------------------------+---------------------------------------------
Reporter: snc@… | Owner: css@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.9.99
Keywords: | Port: cmake
------------------------------+---------------------------------------------
Changes (by ryandesign@…):
* cc: ryandesign@… (added)
Comment:
cmake links with libidn, as evidenced by `otool -L`:
{{{
$ otool -L /opt/local/bin/cmake
/opt/local/bin/cmake:
/opt/local/lib/libidn.11.dylib (compatibility version 18.0.0,
current version 18.2.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
(compatibility version 150.0.0, current version 550.29.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
version 7.9.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 125.2.0)
}}}
Thus cmake's dependency on libidn should be in depends_lib, not in
depends_build.
The libidn dependency was added at the same time as the openssl
dependency, in #20532. But there we see cmake was also linking with
openssl's libraries, which it isn't now. So maybe the openssl dependency
should now be removed.
cmake should also be updated to 2.8.2. I will attach a patch to do all
these things shortly, after I've tested it builds.
--
Ticket URL: <http://trac.macports.org/ticket/25475#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list