Re: Build-Recommends
John Skaller <skaller@users.sourceforge.net> writes:
> I could use a 'build-recommends' dependency,
> but I understand 'recommends'
> is only available for the binary package, not the source.
> Is this correct?
>
> The situation: the packaging machine requires 'ocaml'
> to make binaries from my source package, but if
> 'ocaml-native-compilers' is also installed it will
> do so faster, however that package is not available
> on all architectures.
>
> This isn't an essential feature, but here is a case,
> possibly isolated, where it could be useful.
On all archs that have a native ocaml compiler ocaml-native-compiler
is available. On all others only bytecode can be build. Any
architecture that has ocamlopt also has ocamopt.opt.
You can Build-Depend on ocaml-native-compiler [arch, arch, arch] |
ocaml [arch, arch].
MfG
Goswin
Reply to: