Open gildor478 opened 4 years ago
FWIW we're using this "hack" in Fedora to make ocaml-camomile into an optional dependency (because we want it in Fedora but not in RHEL): https://src.fedoraproject.org/rpms/ocaml-gettext/c/ab4b47dc0def66aa6635af2ad70cc7dc3d8e827e?branch=f34
In case that's not clear, the hack is:
%if %{without camomile}
# Remove dependency on camomile.
rm -r src/lib/gettext-camomile
rm -r test/test-camomile
sed -i -e 's/camomile//' `find -name dune`
%endif
This bug has been migrated from artifact #508 on forge.ocamlcore.org. It was assigned to user102.
user209 posted on 2010-01-12 10:46:06:
We don't need the camomile functionality in ocaml-gettext and so we routinely use:
./configure --disable-camomile
However this has many unnecessary side effects, in particular it breaks 'make' (in the doc directory), and tests.
(Hint, try building like this with and without camomile actually installed).
user209 replied on 2010-01-12 10:52:27:
Sorry, I don't mean in the doc directory, I mean both times it breaks in the test directory.