Date: Wed, 16 May 2007 16:01:56 -0500 From: Stephen Montgomery-Smith <stephen@math.missouri.edu> To: "[LoN]Kamikaze" <LoN_Kamikaze@gmx.de> Cc: 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: <464B7144.2000600@math.missouri.edu> In-Reply-To: <464B155A.1080105@math.missouri.edu> 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> <46488168.3030300@math.missouri.edu> <464B155A.1080105@math.missouri.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------000308060408010407010100 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Ok chaps, I think I have it. This involves no recursive calls of make. Furthermore the dependencies it creates are the real dependencies on your system, not what ports thinks it should be, because it gets all the information from /var/db/pkg. On my system it takes a second or two to register a port - it takes about the same amount of time whether it has few dependencies or many, except when there are zero dependencies, when it takes no time at all. If I get some positive feedback on this one, I'll submit a PR. You can try it out by typing "make actual-package-depends" as opposed to "make package-depends." Stephen --------------000308060408010407010100 Content-Type: text/plain; name="ddd" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="ddd" LS0tIGJzZC5wb3J0Lm1rLW9yaWcJTW9uIE1heSAxNCAwOToyODo0MiAyMDA3CisrKyBic2Qu cG9ydC5tawlXZWQgTWF5IDE2IDE1OjUxOjQ0IDIwMDcKQEAgLTIzODcs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3twcmludCAkJDEiOiIk JDN9JworCithY3R1YWwtcGFja2FnZS1kZXBlbmRzOgorCUAke0FDVFVBTC1QQUNLQUdFLURF UEVORFN9CiAKICMgQnVpbGQgcGFja2FnZXMgZm9yIHBvcnQgYW5kIGRlcGVuZGVuY2llcwog Cg== --------------000308060408010407010100--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?464B7144.2000600>