diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2017-12-15 15:15:02 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2017-12-15 15:15:02 +0000 |
commit | 79cfdfcb24cc8b8d4cea88bd62313ff9754acf81 (patch) | |
tree | 080005a892c8e1f640c448a0eaa329df561aa5ee /databases | |
parent | Mark IGNORE on FreeBSD < 10.4 due lack of __cxa_thread_atexit() (diff) |
Improve handling of the system architecture in `lang/ocaml'.
OCaml is using ARCH variable throughout its makefiles, which clashes with
our own variable of the same name. To workaround it, OCAML_ARCH variable
was introduced which is set based on ARCH, and makefiles later patched in
the `post-configure' target.
This approach does not scale well with porting OCaml to new architectures
as being fragile and sometimes making the build non-idempotent under some
circumstances.
Instead of "fixing" makefiles post-configure, rename ARCH to SYSTEM_ARCH:
this avoids the clash altogether and lets configure script to set correct
values for supported architectures in the first place with no adjustments
required afterwards.
Tested on: i386, amd64, powerpc
Notes
Notes:
svn path=/head/; revision=456400
Diffstat (limited to 'databases')
0 files changed, 0 insertions, 0 deletions