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


Ignore:
Timestamp:
Nov 22, 2020, 12:53:14 PM (3 years ago)
Author:
hexadecagram ({16/7})
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #61356, comment 16

    v4 v5  
    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 'echo "$@" | while read; do; sudo port deactivate "$REPLY" or "rdependentof:$REPLY"; done' -- py27-gobject}}}
     5EDIT: There's probably a more elegant solution but this seems to do the trick: {{{sh -c 'for portname in "$@"; do; sudo port deactivate "$portname" or "rdependentof:$portname"; done' -- py27-gobject}}}