From owner-freebsd-ports@FreeBSD.ORG Sun Jul 29 01:09:32 2007 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBE3916A41A; Sun, 29 Jul 2007 01:09:32 +0000 (UTC) (envelope-from stephen@math.missouri.edu) Received: from cauchy.math.missouri.edu (cauchy.math.missouri.edu [128.206.184.213]) by mx1.freebsd.org (Postfix) with ESMTP id 7E8D513C474; Sun, 29 Jul 2007 01:09:32 +0000 (UTC) (envelope-from stephen@math.missouri.edu) Received: from laptop2.gateway.2wire.net (cauchy.math.missouri.edu [128.206.184.213]) by cauchy.math.missouri.edu (8.14.1/8.13.4) with ESMTP id l6T19VAF025622; Sat, 28 Jul 2007 20:09:32 -0500 (CDT) (envelope-from stephen@math.missouri.edu) Message-ID: <46ABE8CB.1040401@math.missouri.edu> Date: Sat, 28 Jul 2007 20:09:31 -0500 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.5) Gecko/20070721 SeaMonkey/1.1.3 MIME-Version: 1.0 To: pav@freebsd.org References: <46ABE2FA.8030607@math.missouri.edu> <1185670229.57605.68.camel@ikaros.oook.cz> In-Reply-To: <1185670229.57605.68.camel@ikaros.oook.cz> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit Cc: ports@freebsd.org Subject: Re: Speedup for pkg_version X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jul 2007 01:09:32 -0000 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.