Changes between Version 3 and Version 4 of Ticket #61356, comment 16
- Timestamp:
- Nov 22, 2020, 12:09:10 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #61356, comment 16
v3 v4 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 ' port rdependents "$@" | sed 1d | xargs -o sudo port deactivate; sudo port deactivate "$@"'py27-gobject}}}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}}}