version of perl dependency
Ryan Schmidt
ryandesign at macports.org
Sat Nov 22 12:52:30 PST 2008
On Nov 22, 2008, at 10:10, Altoine Barker wrote:
> On Fri, Nov 21, 2008 at 8:03 PM, Moshe Kamensky wrote:
>
>> Is there a standard way to make applications that depend on perl
>> depend
>> on perl 5.10, rather than perl 5.8? Currently I'm just blindly
>> replacing
>> all occurrences of 'port:perl5.8' with 'port:perl5.10' in all
>> Portfiles,
>> but I think it's a bit unsafe.
>
> I think the best solution would be to create a variant, unless you
> are referring to ports that depend on perl as a build dependency?
No variant, please; not for this. As was already said, just declare
the dependency on perl as "path:bin/perl:perl5". That's the new style
we're trying to switch all perl-depending ports to. See:
http://trac.macports.org/ticket/16830
More information about the macports-users
mailing list