Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jul 2007 21:01:35 -0500 (CDT)
From:      Stephen Montgomery-Smith <stephen@math.missouri.edu>
To:        ports@freebsd.org
Subject:   Re: Speedup for pkg_version
Message-ID:  <20070728210024.K24898@math.missouri.edu>
In-Reply-To: <46ABE2FA.8030607@math.missouri.edu>
References:  <46ABE2FA.8030607@math.missouri.edu>

next in thread | previous in thread | raw e-mail | index | archive | help


On Sat, 28 Jul 2007, Stephen Montgomery-Smith wrote:

> This is a kludge, but it makes pkg_version 4 times faster on my set up.  The 
> idea is that "make -V PKGNAME" should ordinarily be a very fast operation. 
> So it runs a very cut down version of bsd.port.mk.  If that bombs with an 
> error, then it does the full bsd.port.mk.
>
> Maybe portsmanager and similar tools could use this idea.
>
>

It's not working - it messes up anything where PKGNAMEPREFIX should be set 
to something non-trivial.  E.g. ruby ports.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070728210024.K24898>