Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2007 10:37:05 -0500
From:      Stephen Montgomery-Smith <stephen@math.missouri.edu>
To:        Alexander Leidinger <Alexander@leidinger.net>
Cc:        "\[LoN\]Kamikaze" <LoN_Kamikaze@gmx.de>, Pav Lucistnik <pav@freebsd.org>, freebsd-ports@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Time to abandon recursive pulling of dependencies?
Message-ID:  <46488221.1080904@math.missouri.edu>
In-Reply-To: <20070514173410.7yj77531yc8o444w@webmail.leidinger.net>
References:  <464597C6.3030406@gmx.de>	<20070512174011.GA22526@xor.obsecurity.org> <4645FF71.60100@gmx.de>	<20070512175824.GA23103@xor.obsecurity.org>	<20070512133054.B5588@math.missouri.edu> <4646193E.5040503@gmx.de>	<464665D5.1090509@math.missouri.edu> <464676CC.2000203@math.missouri.edu>	<46469BF5.9030603@math.missouri.edu>	<1179058696.13237.3.camel@ikaros.oook.cz>	<20070513101332.L82202@math.missouri.edu>	<46479215.1080401@math.missouri.edu> <4647C4FB.9050607@math.missouri.edu>	<4647F182.6000402@gmx.de> <46487491.6020806@math.missouri.edu> <20070514173410.7yj77531yc8o444w@webmail.leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Leidinger wrote:
> Quoting Stephen Montgomery-Smith <stephen@math.missouri.edu> (from 
> Mon, 14 May 2007 09:39:13 -0500):
>
>> Someone pointed out that what I was proposing in +DEPENDENCIES is
>
> Probably me...
>
Yes

>> already to be found in +CONTENTS.  So here is a proof of concept patch
>> to /usr/ports/Mk/bsd.port.mk (proof of concept because no error
>> checking, and things like that).
>
> As you want to use the origin (it seems), grep for DEPORIGIN instead 
> of pkgdep, should be even more fast than what you already have.
>

I don't know how to do this except by using perl, which is not part of 
the base system.  This is because DEPORIGIN is on the next line.  And I 
am not expert at any tools except C and perl.  Also I doubt that it will 
speed things up very much - I think that grepping a bunch of files is 
quite fast (compared to say invoking make which is very slow).





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