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

Lawrence Velázquez larryv at macports.org
Thu Dec 11 12:32:03 PST 2014


On Dec 11, 2014, at 3:14 PM, René J.V. Bertin <rjvbertin at gmail.com> wrote:
 
>> 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...

Using DESTDIR is a pretty common convention for Unix-y build systems. Is INSTALL_ROOT the convention somewhere else?

In any case, it's easy enough to do something like this (untested):

    destroot.destdir-strsed s/DESTDIR/INSTALL_ROOT/

vq


More information about the macports-users mailing list