On 16/02/2012 02:44, Nikola Pavlović wrote:
> (Yes some of the stuff in that list can be
> weeded out with pkg_cutleaves but they end coming back as build
> dependencies of other stuff that I do need).

You know that portmaster(8) has the capability to delete build-only
dependencies?  If you create packages of everything you build, the
effect can be that portmaster will just install the build dependency as
required for updates.

Add this in portmaster.rc to do the deletion of build-only dependencies:

PM_DEL_BUILD_ONLY=pw_dbo

These will keep a cache of any packages you build, and use that cache
preferentially to reinstall anything (which is also really handy if
you've got a bunch of machines that can all share the same cache):

MAKE_PACKAGE=gopt
PM_PACKAGES=first
LOCAL_PACKAGEDIR=/usr/ports/packages
PM_PACKAGES_LOCAL=pmp_local

        Cheers,

        Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matt...@infracaninophile.co.uk               Kent, CT11 9PW

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to