Date: Thu, 16 Feb 2012 08:00:28 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-questions@freebsd.org Subject: Re: How to prevent gam_server from running? Message-ID: <4F3CB79C.2030704@infracaninophile.co.uk> In-Reply-To: <20120216024408.GA57917@sputnjik.localdomain> References: <20120215165738.75518ea9@cox.net> <20120216024408.GA57917@sputnjik.localdomain>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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@infracaninophile.co.uk Kent, CT11 9PW
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk88t6MACgkQ8Mjk52CukIyAwgCfXmg0DyvZqxD/Mf2JdMnIkrig
zl8AoIT9w49Xwp4/l20hK5VWUXyOUdes
=npmA
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F3CB79C.2030704>
