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

Ryan Schmidt ryandesign at
Thu Dec 11 11:56:52 PST 2014

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 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

More information about the macports-users mailing list