Hi,
Generally I'd use
in order to upgrade all needed ports. Recently I ran into the issue of broken shared libraries between www/apache24 and devel/apr1. Also this way, portmaster did not go through the entire procedure of upgrading all needed ports - in the end there where still ports left over which required upgrades as well but portmaster didn't continue on them. So I had to run
on www/apache24 and devel/apr1 in order to get the shared libraries re-linked correctly again as well as I had to re-initialize
in order to proceed with the other left over ports which also needed updating.
In order to prevent such scenarios, I tried to modify my command to
... but unfortunately this isn't working, since -r expects a package name afterwards .. it doesn't handle the -a option. So, when I was digging through
, I fell over another nice option
But when I ran this option, I figured, that it rebuilds a port WHENEVER A DEPENDENCY got detected. This is a quite unnecessary waste of my resources in all ways 
So I was wondering if there is any better solution to this than running
and in order to check for breaks
Thanks
Generally I'd use
Code:
portmaster -a
Code:
portmaster -r
Code:
portmaster -a
In order to prevent such scenarios, I tried to modify my command to
Code:
portmaster -ar
Code:
man portmaster
Code:
[-R] -f
always rebuild ports (overrides -i)
So I was wondering if there is any better solution to this than running
Code:
portmaster -a
Code:
libchk -x /usr/X11R6
Thanks