Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jul 2007 20:09:31 -0500
From:      Stephen Montgomery-Smith <stephen@math.missouri.edu>
To:        pav@freebsd.org
Cc:        ports@freebsd.org
Subject:   Re: Speedup for pkg_version
Message-ID:  <46ABE8CB.1040401@math.missouri.edu>
In-Reply-To: <1185670229.57605.68.camel@ikaros.oook.cz>
References:  <46ABE2FA.8030607@math.missouri.edu> <1185670229.57605.68.camel@ikaros.oook.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
Pav Lucistnik wrote:
> Stephen Montgomery-Smith píše v so 28. 07. 2007 v 19:44 -0500:
> 
>> 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.
> 
> What does this to with ports that have something like
> 
> PORTVERSION=	${MAJOR_VER}.${MINOR_VER}
> 
> MAJOR_VER=	2
> MINOR_VER=	15
> 
> 
> And what about slave ports that inherit PORTVERSION from their master?
> 


It will probably work.





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