[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: math/coq update (7.3.1)
- To: ports@openbsd.org
- Subject: Re: math/coq update (7.3.1)
- From: naddy@mips.inka.de (Christian Weisgerber)
- Date: Sun, 3 Nov 2002 21:23:41 +0000 (UTC)
- Newsgroups: list.openbsd.ports
- References: <200210262245.HAA13225@v007.vaio.ne.jp> <200210262311.IAA14947@v007.vaio.ne.jp>
Yozo TODA <yozo@v007.vaio.ne.jp> wrote:
> I suppose one possibility is
> making a native-code compiler flavor for lang/ocaml;
> any port depending on lang/ocaml check
> if native-compiler flavor exist or not, and
> decide automatically to use native-code compiler or byte-code compiler.
This can be much better handled with a module that is maintained
as part of the lang/ocaml port (cf. for instance qt3.port.mk).
The module would specify a dependency on lang/ocaml and a variable
that tells whether the native code compiler or only the byte code
compiler is available. Ports would specify MODULES=ocaml and use
the abovementioned variable.
--
Christian "naddy" Weisgerber naddy@mips.inka.de