Perl module Privileges::Drop Portfile Fails to Build on Azure

Joshua Root jmr at macports.org
Sat Oct 12 12:43:44 UTC 2019


On 2019-10-12 23:30 , Steven Smith wrote:
> There must be a dependency on one of the p5-* ports that I’ve already
> installed locally.
> 
> Is there an efficient way of tracking down the Perl module dependency tree?
> 
> I suppose I could just do something like:
> 
> sudo port deactivate p5-*
> 
> (How do I restrict this to just the ones I’ve installed). Then start
> adding depends_run dependencies until it builds.

You can use boolean operators, like this:

sudo port deactivate active and p5\*

You can also use trace mode to hide files provided by ports that aren't
declared as dependencies (-t option).

BTW it should be depends_lib if needed at both build time and runtime.

- Josh


More information about the macports-dev mailing list