[macports-ports] branch master updated: New port: pgbadger

Rainer Müller raimue at macports.org
Sat Apr 22 14:26:10 UTC 2017


On 2017-04-21 21:55, Ryan Schmidt wrote:
>> +depends_lib-append  port:perl5 \
>>
>> +                    port:p5-text-csv_xs
> 
> It is not proper to depend on a stub port such as one whose name begins with "p5-". Depend instead on the specific perl version of that module that you want, e.g. p5.24-test-csv_xs. The same goes for the perl5 port: don't depend on it if you actually need a specific version of perl, as you do here because you need a module; depend on perl5.24 instead.

This also means you need to make sure that your port is using
${prefix}/bin/perl5.24 instead of a generic 'perl' to ensure the modules
from dependencies will be available regardless of the selected default perl.

Rainer


More information about the macports-dev mailing list