perl5.8 fixup

Ryan Schmidt ryandesign at macports.org
Sat Mar 7 16:40:50 PST 2009


On Mar 7, 2009, at 15:43, Bradley Giesbrecht wrote:

>>> Make pseudo port perl5-p5-base. Installs all the formerly-built- 
>>> in modules. Add port perl5-p5-base as a depends_lib to each and  
>>> every p5 that is not in the perl5-p5-base group of ports. Over  
>>> time it would be nice to have the non-base p5's depend directly  
>>> on the p5 as opposed to the perl5-p5-base port.
>>
>> We could do this... It's probably easier to modify the perl5  
>> portgroup to always depend on this perl5-p5-base port. That way no  
>> ports need to deal with it, except those few perl ports that don't  
>> use the perl5 portgroup (if there even are any like that).
>
> Would this allow updating a p5 in the portgroup without -f?

If you change what dependencies are in the portgroup, then you would  
have to bump the revision of all ports using the portgroup.... That's  
messy.... but it would only be once to add the modules metaport to  
the portgroup. After that, any updates to the modules metaport or to  
the ports it depends on would work normally.


> Have the perl5 Portfile install the base p5's after perl5  
> activation so the p5's dependency on perl5 is met.
> I don't know if this can be done but it was my idea of how to have  
> the p5's as seperate ports but still be installed with perl5.

It can't be done that way. It would have to be done the way Rainer  
suggested, having a metaport which installs both the perl5 port and  
the new modules metaport. Or by having the portgroup depend on the  
modules metaport.


More information about the macports-dev mailing list