deactivating dep listed in both depends_{build,lib}

Lawrence Velázquez larryv at macports.org
Thu Jul 25 08:12:21 PDT 2013


On Jul 25, 2013, at 10:40 AM, Bradley Giesbrecht <pixilla at macports.org> wrote:

> $ port -q installed libmemcached ; port -q deps libmemcached
> libmemcached @1.0.10_0 (active)
> Build Dependencies:   gcc46
> Library Dependencies: memcached, gcc46

The build dependency is coming from the Portfile; the library dependency is coming from base.

The Portfile is declaring the dependency incorrectly, in multiple ways: (1) the dependency on GCC should be a library dependency, and (2) it wipes out the existing build dependencies (perl5 and cyrus-sasl2).

> I am surprised that I can deactivate gcc46 without warning or forcing. Is this intended behavior?

Probably not. The build dependency is being declared after the library dependency; maybe it overrides it somehow?

In any case, this should clear it up.

https://trac.macports.org/changeset/108519

vq


More information about the macports-dev mailing list