port mpkg not packaging dependencies

Ryan Schmidt ryandesign at macports.org
Sat Jun 16 02:31:10 PDT 2012

On Jun 16, 2012, at 04:26, Dirk wrote:

> Am 16.06.12 11:19, schrieb Ryan Schmidt:
>> The nagios-plugins port does not list *any* library dependencies.
> Sorry for the newbie question.
> Where are dependencies listed in a port?

port info nagios-plugins


port deps nagios-plugins

It lists several *build* dependencies, and the ports that provide libintl and libcrypto are in the build dependency chain. But files installed by nagios-plugins actually link with those libraries, thus those libraries must be listed as library dependencies, so that MacPorts knows that users should not be allowed to uninstall those ports, and that those ports should be included in an mpkg.

More information about the macports-users mailing list