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

Brandon Allbery allbery.b at gmail.com
Thu Dec 11 09:47:44 PST 2014


On Thu, Dec 11, 2014 at 12:38 PM, René J.V. <rjvbertin at gmail.com> wrote:

> No, it doesn't. I figured I had to edit it, but how?
>
> Alternatively, couldn't I change the destroot command so that it executes
> make with an appropriate set of options?
>
>
You would still have to at least inspect the Makefile to find out what is
needed, then set variables for the destroot phase or worst case provide
your own destroot phase.

If it's already packaged for Linux, you can inspect the Linux packaging to
see how they destroot it. The details for MacPorts will be different, but
at least you won't have to confront possibly contorted make logic (like I
had to for a local Portfile).

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20141211/71e85dfe/attachment.html>


More information about the macports-users mailing list