subports

Mark Brethen mark.brethen at gmail.com
Tue Jan 3 21:48:12 PST 2012


On Jan 3, 2012, at 11:36 PM, Ryan Schmidt wrote:

> 
> On Jan 3, 2012, at 23:18, Jeremy Lavergne wrote:
> 
>>> I tried the portfile I posted earlier (using a subport). It works, but unless I'm doing something wrong, you have to fetch the source twice to install both. Any way around that?
>>> 
>>> Please look at the portfile and let me know if it's ready for submission.
>> 
>> You can set the distdir to be the same, rather than being the name of each port. Simply pick one and set it in the other to match.
> 
> The default dist_subdir is ${name} so it should already work correctly; all subports should share the same dist_subdir. Why do you think they don't?
> 

I issued 'sudo port destroot reduce subport=reduce-fetch-psl' and it only built the psl system. If I issue the port install command, it will clean everything and will have to fetch the distfiles again to install csl.

Mark






More information about the macports-dev mailing list