How to make sure that a port doesn't get automatically upgraded/cleared during "sudo port upgrade outdated" and "sudo port uninstall inactive"

MK-MacPorts at techno.ms MK-MacPorts at techno.ms
Sun Nov 18 03:22:47 PST 2012


Hi,

I have a few ports installed with option "-k" in order to have the source code and object files present for later debugging purposes.

On the other hand I regularly execute:
---
$ sudo port selfupdate
$ sudo port upgrade outdated
$ sudo port uninstall inactive
---
using a batch alias...


Now, in case one of my "debuggable ports" gets updated I'd like to make sure that

 1) the port would be re-build with the needed "-k" option

 2) the inactive port should not get cleared or uninstalled (in case I want to rewind the current updates)


Is there some option in macports which could help me achieving this (at least step 1)?

Greets,
Marko


More information about the macports-dev mailing list