Changes between Version 4 and Version 5 of Ticket #61356, comment 16
- Timestamp:
- Nov 22, 2020, 12:53:14 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #61356, comment 16
v4 v5 3 3 What 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. 4 4 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}}}5 EDIT: 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}}}