On Mon, Aug 07, 2006 at 10:24:48AM +0200, Jonathan McKeown wrote: > On Saturday 05 August 2006 19:16, cpghost wrote: > > > How do I get portmanager to upgrade ports, using > > 1. pre-built packages from /usr/ports/packages (ONLY), > > and only if there's no binary package there, > > 2. build from source as usual? > > > > Additional limit (preventing use of portupgrade -P) is that only > > local (/usr/ports/packages), and no remote packages should be > > used. > > Edit /usr/local/etc/pkgtools.conf and add > > ENV['PKG_FETCH'] = '/usr/bin/false' > > portupgrade will look for a local package, then try and fetch a package > remotely using false(1) - which will fail because that's what false(1) does - > and portupgrade will then build the port.
That's a great idea for portupgrade! Thank you! It's still not clear how portmanager (instead of portupgrade) would behave, but I'll give it a try. > Jonathan Thanks again, -cpghost. -- Cordula's Web. http://www.cordula.ws/ _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"