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

René J.V. Bertin rjvbertin at
Thu Dec 11 12:14:58 PST 2014

On Thursday December 11 2014 13:56:52 Ryan Schmidt wrote:

> On Dec 11, 2014, at 10:53 AM, Michael Dickens wrote:
> > If the Makefile is hand-written, it probably does not contain a way to set DESTROOT or some other variable to direct where to install stuff outside of PREFIX
> That's not necessarily so. Humans are certainly capable of writing Makefiles that use the DESTDIR variable properly. If the Makefile in

Who said anything about not being able to?

> question does not do so, consider fixing the Makefile to do so, then providing a patch to the developers so that they can include it in the next version

The Makefiles in question already contained INSTALL_ROOT. I doubt that the developer would be interested in replacing that with DESTDIR...

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

More information about the macports-users mailing list