Buiid/install stages documentation?
Perry E. Metzger
perry at piermont.com
Wed Apr 18 13:20:13 UTC 2018
On Tue, 17 Apr 2018 22:33:10 -0500 Ryan Schmidt
<ryandesign at macports.org> wrote:
> On Apr 17, 2018, at 12:39, Perry E. Metzger wrote:
>
> > Just to be clear: I know what is in:
> > https://guide.macports.org/#reference.phases
> >
> > but I'm trying to figure out a bit more detail. In particular, I
> > _suspect_ what I want is to trick opam into installing its build
> > products into the destdir, but I'm not sure that's the right
> > approach.
>
> Certainly, at minimum, that would be needed.
>
> What else do you want to know?
>
Maybe I should ask this a bit differently. Are there other precedents
for using a "foreign" packaging or build system and tricking it into
building stuff for macports that I could study and possibly steal
pieces of?
(Mostly I think OCaml users should be using opam if they're doing
development work and the like, but if someone is interested in a piece
of software that merely uses OCaml and they're not interested in the
OCaml ecosystem itself, it should be possible for them to do that
without needing to know about opam etc., which means that a limited
number of ocaml packages need to be cleanly set up to work inside
MacPorts, and by far the easiest way to do that is to use opam.)
Perry
--
Perry E. Metzger perry at piermont.com
More information about the macports-dev
mailing list