[Caml-list] Re: oasis

2010-11-27 Thread Sylvain Le Gall
Hi, On 26-11-2010, Anastasia Gornostaeva wrote: > Hello. > > How can I substitute in setup.ml (not in _oasis file) values for > CCOpt and CCLib fields? I think it is better to substitute them from > setup.data, if I could to put proper values to setup.data. > For example: > CCOpt: $freetype_cc

[Caml-list] Re: oasis

2010-11-28 Thread Sylvain Le Gall
On 27-11-2010, Anastasia Gornostaeva wrote: > On Sat, Nov 27, 2010 at 10:20:38AM +, Sylvain Le Gall wrote: >> Hi, >> >> On 26-11-2010, Anastasia Gornostaeva wrote: >> > Hello. >> > >> > How can I substitute in setup.ml (not in _oasis file) values for >> > CCOpt and CCLib fields? I think it i

Re: [Caml-list] Re: oasis

2010-11-27 Thread Anastasia Gornostaeva
On Sat, Nov 27, 2010 at 10:20:38AM +, Sylvain Le Gall wrote: > Hi, > > On 26-11-2010, Anastasia Gornostaeva wrote: > > Hello. > > > > How can I substitute in setup.ml (not in _oasis file) values for > > CCOpt and CCLib fields? I think it is better to substitute them from > > setup.data, if I

Re: [Caml-list] Re: oasis

2010-11-29 Thread Anastasia Gornostaeva
On Sun, Nov 28, 2010 at 05:17:35PM +, Sylvain Le Gall wrote: > My current state about this solution is: > - defines BuildDepends: freetype2 (pkg-config), to make clear that there > is a C build-depends > - allow to override the defined variable freetype2_cflags and > freetype2_libs. If the

Re: [Caml-list] Re: oasis

2010-11-29 Thread Sylvain Le Gall
Hello, On Mon, Nov 29, 2010 at 10:46:22PM +0300, Anastasia Gornostaeva wrote: > On Sun, Nov 28, 2010 at 05:17:35PM +, Sylvain Le Gall wrote: > > > My current state about this solution is: > > - defines BuildDepends: freetype2 (pkg-config), to make clear that there > > is a C build-depends >

Re: [Caml-list] Re: oasis

2010-11-29 Thread Anastasia Gornostaeva
On Mon, Nov 29, 2010 at 09:52:20PM +0100, Sylvain Le Gall wrote: > > There should be three variants: pkg-config, OS-based userspace policy > > (/usr/include vs. /usr/local/include) and user-defined one. > > > > I think the pkg-config is the starting point, it also defines the prefix > of the se