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


Ignore:
Timestamp:
Nov 21, 2020, 11:50:13 PM (3 years ago)
Author:
hexadecagram ({16/7})
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #61356, comment 16

    v2 v3  
    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: This seems to be doing the trick: {{{port rdependents py27-gobject | sed 1d | xargs -o sudo port deactivate}}}
     5EDIT: 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}}}