Yushu Gao
2014-Apr-07 02:14 UTC
How to remove X11 support and all ports options depend on X11
Hi, I am new to FreeBSD, I have used Gentoo before. I want to remove the X11 support and all ports options depend on it, I know how to remove X11 support, but I cannot find out how to remove all ports options depand on it. Can someone kindly tell me the method ? Best regards
illoai at gmail.com
2014-Apr-07 03:08 UTC
How to remove X11 support and all ports options depend on X11
On 6 April 2014 22:14, Yushu Gao <shuokay at gmail.com> wrote:> Hi, > I am new to FreeBSD, I have used Gentoo before. I want to remove the X11 > support and all ports options depend on it, I know how to remove X11 > support, but I cannot find out how to remove all ports options depand on > it. Can someone kindly tell me the method ? >You can try adding the old WITHOUT_X11=yes to /etc/make.conf, but you will probably be required (at some point) to make sure you don't have any conflicting options* set (via "make config" in the port directory) when things go poorly. *for instance: WITH_QT4=yes has caused problems in the past, since QT4 requires X11 The ports system is not perfect. Sorry. -- --
Matthew Seaman
2014-Apr-07 05:59 UTC
How to remove X11 support and all ports options depend on X11
On 07/04/2014 03:14, Yushu Gao wrote:> I am new to FreeBSD, I have used Gentoo before. I want to remove the X11 > support and all ports options depend on it, I know how to remove X11 > support, but I cannot find out how to remove all ports options depand on > it. Can someone kindly tell me the method ?Assuming you're using pkg(8) rather than the old pkg_tools, then delete X11 packages and everything that depends on them. eg: # pkg delete -R libX11 (you'll need to repeat that for various other X11 components) Then remove anything that was only installed as a dependency of the X11 ports: # pkg autoremove Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 1036 bytes Desc: OpenPGP digital signature URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20140407/e0ade8eb/attachment.sig>