Migrating to X.org with portupgrade

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Tue Aug 17 20:25:35 PDT 2004

On Tue, 2004-08-17 at 23:06, Wilkinson, Alex wrote:
> 	sudo portupgrade -l /tmp/portupgrade.log -L /tmp/portupgrade- -o devel/imake-6  imake-4*
> 	sudo portupgrade -l /tmp/portupgrade.log -L /tmp/portupgrade- -o x11/xorg-libraries  XFree86-libraries
> 	sudo portupgrade -l /tmp/portupgrade.log -L /tmp/portupgrade- -o x11/xorg-clients  XFree86-clients
> 	sudo portupgrade -l /tmp/portupgrade.log -L /tmp/portupgrade- -o x11-servers/xorg-server  XFree86-Server
> 	sudo portupgrade -l /tmp/portupgrade.log -L /tmp/portupgrade- -o x11/xorg-documents  XFree86-documents
> 	sudo portupgrade -l /tmp/portupgrade.log -L /tmp/portupgrade- -o x11-fonts/xorg-fonts-truetype  XFree86-fontScalable
> 	sudo portupgrade -l /tmp/portupgrade.log -L /tmp/portupgrade- -o x11-fonts/xorg-fonts-100dpi  XFree86-font100dpi
> 	sudo portupgrade -l /tmp/portupgrade.log -L /tmp/portupgrade- -o x11-fonts/xorg-fonts-75dpi  XFree86-font75dpi
> 	sudo portupgrade -l /tmp/portupgrade.log -L /tmp/portupgrade- -o x11-fonts/xorg-fonts-type1  XFree86-fontDefaultBitmaps
> 	sudo portupgrade -l /tmp/portupgrade.log -L /tmp/portupgrade- -o x11-fonts/xorg-fonts-cyrillic  XFree86-fontCyrillic
> 	sudo portupgrade -l /tmp/portupgrade.log -L /tmp/portupgrade- -o x11-fonts/xorg-fonts-encodings  XFree86-fontEncodings
> 	sudo portupgrade -l /tmp/portupgrade.log -L /tmp/portupgrade- -o x11/xorg -f XFree86
> What's the point in doing each port separately when you could have just done:
> # portupgrade -Rrav

The point is the -o options, which tell portupgrade to upgrade the
installed XFree86 port *from the corresponding xorg port* so
dependencies get updated correctly.  Yours will just try to upgrade the
XFree86 ports as XFree86 ports, not switch to xorg.

brandon s. allbery    [linux,solaris,freebsd,perl]     allbery at kf8nh.com
system administrator      [WAY too many hats]        allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon univ.         KF8NH

More information about the freebsd-current mailing list