On Dec 11, 2014, at 12:38 PM, René J.V. Bertin <[email protected]> wrote:

> On Thursday December 11 2014 11:53:00 Michael Dickens wrote:
> 
>> Hi René - 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 -- you'll need to read through the Makefile to
>  
> No, it doesn't. I figured I had to edit it, but how?

Assuming the makefile uses "prefix" properly, its install target needs to 
install to $(DESTDIR)$(prefix) instead of just $(prefix).

> Alternatively, couldn't I change the destroot command so that it executes 
> make with an appropriate set of options?

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

vq
_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to