How to prevent gam_server from running?

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu Feb 16 08:00:44 UTC 2012


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: matthew at infracaninophile.co.uk               Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120216/a3addaa1/signature.pgp


More information about the freebsd-questions mailing list