Leslie Jensen skrev:

Mel skrev:
On Tuesday 02 December 2008 08:38:02 Leslie Jensen wrote:

How would you guys uninstall a meta-port?

I'm considering a move to kde4 but I want a clean install, so I want to
remove the kde3 meta-port first.

cd /usr/ports/x11/kde3
for dep in `make -V RUN_DEPENDS`; do     origin=${dep##*:};
    portname=`make -C ${origin} -V PORTNAME`;
    pkg_delete -Xf "^${portname}-[0-9\.,_]+\$";
cd /usr/ports/ports-mgmt/pkg_cutleaves
make install
pkg_cutleaves -xg

Delete all leaves you are sure you don't need anymore, till no leaves are left.

Thanks Mel

I did a

[EMAIL PROTECTED]/usr/ports/x11/kde3:make PORTNAME
make: don't know how to make PORTNAME. Stop

How do I solve the error?


Problem solved

Answering my own question. I forgot the -V.

freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to