Follow-up : I do NOT see the error (due to configure.optflags) when I do `port -n upgrade`. I think this suggests that `upgrade --force` does something recursive which is responsible for the substitution/dereferencing. R.