#17578: gdal links with libraries it doesn't declare dependencies on -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: seanasy@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: gdal -------------------------------------+-------------------------------------- Comment(by ryandesign@…): So, the moral is, a port must declare dependencies on things it links with. If the software can optionally link with something, the port must either declare a dependency on it, or it must disable the feature so that it never links with it even if the library is present. If you want to make features available optionally in your port, then you make variants which remove the disable configure switch and add the enable configure switch and the dependency for that feature. -- Ticket URL: <http://trac.macports.org/ticket/17578#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS