Reminder for later, OpenBSD’s pkg_delete utility can remove unused dependencies automatically:

# pkg_delete -a