cvs commit: ports UPDATING

Wesley Shields wxs at FreeBSD.org
Tue Jun 9 18:00:24 UTC 2009


On Tue, Jun 09, 2009 at 10:49:21AM -0700, Doug Barton wrote:
> Wesley Shields wrote:
> > wxs         2009-06-09 13:46:03 UTC
> > 
> >   FreeBSD ports repository
> > 
> >   Modified files:
> >     .                    UPDATING 
> >   Log:
> >   - Remove portmaster instructions for python update as they do not work.
> >     I am working on a fix to the upgrade-site-packages target to support
> >     using portmaster.
> 
> If you need any help just let me know.

The problem was not with portmaster, but was with the reliance on
pkg_which.  The attached patch should fit it. I currently have sent it
to itetcu and miwi for review. The biggest downside is that pkg_info can
not take multiple arguments on the command line like pkg_which does, so
we have to use xargs -L 1, which makes things slow compared to using
pkg_which.

If anyone wants to test it out please feel free to do so:

cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER

But be warned that I have only tested it on one machine so I'm not
responsible if it lights your cat on fire or other bad things.

-- WXS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python26-portmaster.diff
Type: text/x-diff
Size: 1137 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20090609/2e8a0e68/python26-portmaster.bin


More information about the cvs-all mailing list