Changes between Version 3 and Version 4 of Ticket #61356, comment 16


Ignore:
Timestamp:
Nov 22, 2020, 12:09:10 AM (4 years ago)
Author:
hexadecagram ({16/7})
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #61356, comment 16

    v3 v4  
    33What is the magic formula for bypassing ports that fail to build so that what **can** be built **will** be built? I have tried deactivating py27-gobject (and py27-pygtk) yet {{{port}}} still attempts to build them. I have also tried such things as {{{port upgrade -u outdated and not py27-gobject}}} without success.
    44
    5 EDIT: There's probably a more elegant solution but this seems to do the trick: {{{sh -c 'port rdependents "$@" | sed 1d | xargs -o sudo port deactivate; sudo port deactivate "$@"' py27-gobject}}}
     5EDIT: There's probably a more elegant solution but this seems to do the trick: {{{sh -c 'echo "$@" | while read; do; sudo port deactivate "$REPLY" or "rdependentof:$REPLY"; done' -- py27-gobject}}}