deactivating dep listed in both depends_{build,lib}

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

On Jul 25, 2013, at 10:40 AM, Bradley Giesbrecht <pixilla at> 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.


More information about the macports-dev mailing list