Does MacPorts have a way to uninstall the dependencies it installed in
attempting to build NetSurf (or any complex port that fails to build) without
uninstalling the dependencies that were already installed?
Will "port reclaim" catch these?
Yes, port reclaim will clean up such ports for you. You can also use an
expression like 'leaves and rdepof:NetSurf' to do it manually; I would
pass it to 'port echo' first to check that it doesn't match anything you
want to keep, and then use it with clean and uninstall.
- Josh