% pkg_info -R [i]portname[/i]
will give a list of ports on which portname depends. The list can be fed to portupgrade or ports-mgmt/portmaster.# portupgrade -Rf someport -x someport
# make all-depends-list -C editors/openoffice-3 > somename.txt
SirDice said:I was looking for an -R switch on portmaster(1) but I think it simply defaults to always update the dependencies.
With portupgrade(1) something like this should be possible:
# portupgrade -Rf someport -x someport
(force upgrade of all dependencies of "someport" and exclude "someport" itself)
Although I don't know if this works if "someport" isn't installed.
# portupgrade -Rf editors/openoffice-3 -x editors/openoffice-3
vizion said:The reason is I am having trouble trying to build editors/openoffice-3 on FreeBSD 8.2 but it is constantly failing to build. So I cannot rebuild something that is not installable!
# portupgrade -Rf editors/openoffice-3
will rebuild everything it depends on before attempting to build openoffice-3.