Upgrade dependents to universal?

Joshua Root jmr at macports.org
Wed Apr 14 19:13:02 PDT 2010

On 2010-4-15 12:09 , Arno Hautala wrote:
> On Wed, Apr 14, 2010 at 21:37, Ryan Schmidt <ryandesign at macports.org> wrote:
>> Well, not built-in, but it wouldn't be too hard to script. Probably something like this would work:
>> for p in $(port info --line --depends_lib wine-devel | sed 's/,/ /g')
>> do
>> sudo port upgrade --enforce-variants $(echo $p | sed 's/.*://') +universal
>> done
> But, then there are the dependents of dependents that might need to be
> universal as well.  This would need to using port-rdeps rather than
> just port.

Not true, upgrade is a recursive operation by default.

BTW, the terminology being used here isn't right, a dependent is the
opposite of a dependency.

- Josh

More information about the macports-users mailing list