Files
gentoo/dev-lisp
Michael Orlitzky 94b99f1f72 dev-lisp/ecl: fix system libffi detection, EAPI++
The libffi detection has been failing for some time:

  checking for ffi/ffi.h... no
  checking for ffi.h... no

This causes either the bundled libffi to be used, or if that doesn't
work, the feature to be silently disabled:

  checking whether we can use the existing libffi library ... no
  configure: Configuring included libffi library:
  /.../ecl-26.5.5/src/configure: 7711:
  /.../ecl-26.5.5/src/libffi/configure: not found
  configure: WARNING: Unable to configure or find libffi library;
  disabling dynamic FFI

The build system allows you to provide explicit paths to the libffi
headers and libraries, but I think it's better to call pkg-config for
the headers and append them to CPPFLAGS. The libraries are already
where ecl expects them.

Tested with the curent libffi on both amd64 and ~riscv.

Closes: https://bugs.gentoo.org/871564
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
2026-10-08 14:39:51 -04:00
..
2026-06-13 10:40:48 +02:00
…
2026-05-22 16:52:35 +03:00
…
…
2026-09-30 17:26:12 +03:00
…