On Tue, Jan 22, 2013 at 2:43 AM, Ryan Schmidt wrote:
>
> If you have fetched the sources and wish to try again after making changes to 
> the portfile that do not affect the fetching, you could use
>
> sudo port -o install
>
> "-o" means "don't clean a work directory older than the portfile"

Oh, thank you very much. I didn't know about the option "-o".
Actually, this might come in handy even when extracting tar.gz takes a
long time ;)

> That can work for a little while, but you have to remember to use "-o" and 
> it's not convenient if you are trying to work on updating patchfiles.
>
> A solution I used while working on alienarena (when their released version 
> didn't work and I was fetching from svn) was to check out once (I think it 
> came to about 1GB), then create a tarball of it and manually put that into 
> distfiles/alienarena on my system, then change the port back to the default 
> fetch.type and add those checksums (or even disable checksum checking). Then 
> I could clean and try again as much as I wanted without having to re-fetch 
> (unless I wanted to change what revision I was fetching). I didn't commit 
> this but it did speed development.

This is exactly what I did at first, but it's a bit inconvenient for
exchanging the Portfile during development. Now I switched to a github
mirror.

Mojca
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to