subports
Mark Brethen
mark.brethen at gmail.com
Tue Jan 3 22:49:12 PST 2012
On Jan 4, 2012, at 12:22 AM, Ryan Schmidt <ryandesign at macports.org> wrote:
>
> On Jan 3, 2012, at 23:48, Mark Brethen wrote:
>
>> 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
>
> It will clean the work directory.
>
>> and will have to fetch the distfiles again to install csl.
>
> No; it will not have cleaned the distfiles. If you want the distfiles cleaned you have to do it explicitly with
>
> sudo port clean --dist reduce
>
> or
>
> sudo port clean --all reduce
>
>
>
As far as I know svn downloads to the work directory. MacPorts doesn't save it, does it?
More information about the macports-dev
mailing list