ports/109896: Minor improvements to bsd.port.mk
Mikhail T.
mi at aldan.algebra.com
Mon Mar 5 02:30:08 UTC 2007
>Number: 109896
>Category: ports
>Synopsis: Minor improvements to bsd.port.mk
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 05 02:30:05 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Mikhail T.
>Release: FreeBSD 6.2-STABLE amd64
>Organization:
Virtual Estates, Inc.
>Environment:
System: FreeBSD aldan.algebra.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Sun Feb 11 21:22:28 EST 2007 root at aldan.algebra.com:/meow/obj/var/src/sys/SILVER amd64
>Description:
The current bsd.port.mk has some poorly worded scripts, which
the patch below speeds up. In particular, all invocations of ${CUT}
are eliminated, and pipes with more than one instance of tr, cut,
grep, awk, or sed are compacted.
In the case of x11/kde3 the changes make ``make missing'' or
``make package-depends-list'' finish over 10% faster --
mostly due to reduction of the sys-time, since much fewer
external sed/cut/tr processes need to be spawned.
The patch also avoid redundant sub-shells in a couple of places,
and somewhat unifies accessing data in the MD5_FILE.
Lastly, it makes the uninstall try to remove bzip2-ed man-pages
in addition to gzip-ed ones.
>How-To-Repeat:
>Fix:
The up-to-date patch can be found at:
http://aldan.algebra.com/~mi/bsd.port.mk.diff
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list