Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#20532 closed defect (fixed)

cmake links with libidn and openssl but does not declare dependencies

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: cssdev
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: cmake

Description

cmake links with libidn and openssl but does not declare dependencies on these ports. Either cmake must declare dependencies on them, or it must not link with them.

$ otool -L /mp/bin/cmake
/mp/bin/cmake:
        /mp/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8, current version 0.9.8)
        /mp/lib/libssl.0.9.8.dylib (compatibility version 0.9.8, current version 0.9.8)
        /mp/lib/libidn.11.dylib (compatibility version 17.0.0, current version 17.42.0)
        /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 476.17.0)
        /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
        /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.3)

Change History (4)

comment:1 Changed 15 years ago by cssdev

Status: newassigned

Those must be picked up automatically ... I'll check whether they can be explicitly toggled or whether it's simpler to just add them as dependencies.

comment:2 Changed 15 years ago by cssdev

It's probably picking them up as a consequence of $prefix preceding /usr/local. I'll look into making explicit declarations in both the portfile and the configuration. Thanks for noting!

comment:3 Changed 15 years ago by cssdev

Resolution: fixed
Status: assignedclosed
Version: 1.7.11.8.0

Committed to r57041!

comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

The dependencies should have been depends_lib; because they were depends_build instead, #25475 occurred.

Note: See TracTickets for help on using tickets.