The committed package speedup is a little bit flawed

Alexander Leidinger Alexander at Leidinger.net
Sun Jun 17 10:01:42 UTC 2007


Hi,

somehow you didn't got the final patch. Attached is the fastest version
we where able to come up with. Additionally it contains a safety net
("-gt" part) in case there's something wrong (no ORIGIN in +CONTENTS).
With the current version you run into an error, with the patch you
don't.

It also contains the possibility to only record explicit package
dependencies instead of all implicit dependencies too (you have to set
EXPLICIT_PACKAGE_DEPENDS to some value to change the current default
behavior). This allows to experiment with explicit package
dependencies. If you don't like this part, just remove the
  -a -z "${EXPLICIT_PACKAGE_DEPENDS}"

On a related note, have you got a PR for the "make clean"-speedup?


Interested parties can find "inofficial" (as in "not in GNATS for
portmgr testing") patches for this and some more bsd.port.mk
improvements for testing at:
    http://www.Leidinger.net/FreeBSD/port-patches/

Bye,
Alexander.

-- 
"man hier" will explain the way FreeBSD filesystems are normally laid out.
		-- David Scheidt <dscheidt at tumbolia.com>
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID = 72077137
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bsd.port.mk.diff
Type: text/x-patch
Size: 1376 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20070617/5a8e65d6/bsd.port.mk.bin


More information about the freebsd-ports mailing list