A more interactive method is wip/pkg_rmleaves (from FreeBSD).
So I'd "pkg_delete gnome" first and then do pkg_rmleaves? -- NetBSD/i386 3.0 + pkgsrc-current | OpenBSD/i386 3.9 http://search.gmane.org/?query=&group=gmane.os.netbsd.* (netbsd archives) http://search.gmane.org/?query=&group=gmane.os.openbsd.* (openbsd archives) http://man.netbsd.org/ | http://www.openbsd.org/cgi-bin/man.cgi (manpages)