portupgrade time, xorg ports
Kirk Strauser
kirk at strauser.com
Mon Dec 27 07:33:02 PST 2004
On Saturday 25 December 2004 12:29, Jay O'Brien wrote:
> But it is there, so it will stay.
I doesn't *have* to stay, though:
1) Add 'WITHOUT_X11="YES"' to /etc/make.conf .
2) Use You can use 'pkg_info -rR xorg-[whatever]' to see which ports depend
on a each of the X.org ports.
For each "dependent" port, there will be three possible states:
1) You don't use it anymore (eg you used to use Firefox, but haven't in a
long time) and no other port depends on it. If this is true, then use
pkg_delete to remove that port.
2) You still use it, but don't use the X11 version of it (eg you want to use
ImageMagick for automated image processing, but don't need the 'display'
command which depends on X.org). In this case, you can rebuild the port
and with WITHOUT_X11="YES" setting above will remove its dependency on
X.org.
3) You still the X11 version of it. In this case, you won't be removing
X.org any time soon.
Note that in case #2 above, you don't necessarily have to rebuild it *right
now*. A lot of ports are updated regularly and might be updated the next
time you run portupgrade anyway. If removing X.org isn't a high priority,
then you can always check back every month or so to see when the list of
packages that need X11 is small enough that you can force-upgrade them in a
reasonably short amount of time.
Also note that this general approach works for pretty much any other large
system that you might want to remove, not just X.org.
--
Kirk Strauser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041227/ddfccc1f/attachment.bin
More information about the freebsd-questions
mailing list