[KDE/Mac] How can I change one piece of code in a MacPorts installation?

Marko Käning mk-lists at email.de
Mon Jul 21 20:17:03 UTC 2014


Hi Ian,

On 21 Jul 2014, at 15:41 , Nicolas Pavillon <nicos at macports.org> wrote:
> it can be pretty cumbersome, as you have to rebuild everything from scratch each time, with your new patches. 
> Another way to avoid rebuilding everything is to use lower-level Macports commands, to avoid the fact that a new clean copy of your gets extracted each time, with a clean at the end of the install. You can run “port extract” to get a copy, change the code with patches or manually, and then run “port activate” to install the port, but normally without the cleaning stage, so that you keep the copy of the code.

well, it is also helpful to check out port’s options ‘-k’ and ‘-o’! :-)

‘-k’ keeps the sources even after the port got installed, so omitting the cleaning phase somehow, which enables the debugger to find the program’s sources later on.

Greets,
Marko


More information about the kde-mac mailing list