Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Mar 2007 21:20:04 -0500 (EST)
From:      "Mikhail T." <mi@aldan.algebra.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        portmgr@FreeBSD.org
Subject:   ports/109896: Minor improvements to bsd.port.mk
Message-ID:  <200703050220.l252K4tM077534@aldan.algebra.com>
Resent-Message-ID: <200703050230.l252U5YL001764@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



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