Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2007 23:48:52 -0500
From:      Stephen Montgomery-Smith <stephen@math.missouri.edu>
To:        ports@freebsd.org
Subject:   Speeding up pkg_version and perhaps other port utilities
Message-ID:  <464FD334.9040705@math.missouri.edu>

next in thread | raw e-mail | index | archive | help
On my system, the program pkg_version can double its speed simply by 
replacing "make -V PKGNAME" by "make BEFOREPORTMK=yes -V PKGNAME" in 
src/usr.sbin/pkg_install/version.  Basically what it does is to tell 
"make" to process only about half of bsd.port.mk.

It seems to me that with some clever use like this, certain commands 
like "make all-package-depends" could selectively read only parts of 
bsd.port.mk.




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