Proper dependencies for "x11"
larryv at macports.org
Sun Jul 21 13:31:59 PDT 2013
On Jul 21, 2013, at 3:21 PM, Mojca Miklavec <mojca at macports.org> wrote:
> When exploring different aspects of x11 I realised that gnuplot uses
> depends_lib-append port:xpm
> for x11 variant, but links to the following libraries (among others):
> What is the proper way to declare the dependencies? Is dependence on
> xpm alone enough?
> I also notices linking to tiff, freetype, glib2, gettext without
> declaring an explicit dependence, but some of those are dependencies
> of gd2, for some I didn't check.
The gnuplot port must declare a dependency on any port that provides a library it links to.
More information about the macports-dev