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

Daniel J. Luke dluke at geeklair.net
Thu Dec 11 13:38:38 PST 2014


> On Dec 11, 2014, at 3:58 PM, René J.V. Bertin <rjvbertin at gmail.com> wrote:
> 
> On Thursday December 11 2014 15:32:03 Lawrence Velázquez wrote:
>  
> > Using DESTDIR is a pretty common convention for Unix-y build systems. Is
> > INSTALL_ROOT the convention somewhere else?
>  
> I think it's what qmake produces, so it would be a Qt convention - which would be pretty appropriate.
>  
> >     destroot.destdir-strsed s/DESTDIR/INSTALL_ROOT/
>  
> I did something similar, see the Portfile attached to https://trac.macports.org/ticket/46029#comment:8

setting destroot.destdir directly (ie. destroot.destdir INSTALL_ROOT=${destroot}) would be preferred over using reinplace on the makefile.

--
Daniel J. Luke
dluke at us.ntt.net





More information about the macports-dev mailing list