how do ports install into ${destroot} instead of into ${prefix} directly?

René J.V. Bertin rjvbertin at
Thu Dec 11 10:42:20 PST 2014

On Thursday December 11 2014 12:52:55 Lawrence Velázquez wrote:

> We already pass DESTDIR=$destroot to the make invocation. Make can't force a makefile to use it.

See, that's the bit I was missing :)

> cd qtchooser*
> git init
> git add .[a-zA-Z0-9]* *
> git commit -a -m "init"
> }}}
> Then, open the file of interest (e.g., "Makefile") in your preferred
> editor and go wild. When you're done, you can use "git diff" to retrieve

That's what I also do often (sometimes in the work dir after `port patch foo`).
Oh, and KDevelop generates -p0 patchfiles, so those are usable without editing ;)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list