Ports: Build python3 with libffi

This makes building the _ctypes module succeed. We still can't import
it, but hey, that's progress! :^)
This commit is contained in:
Linus Groh 2021-01-21 09:26:12 +01:00 committed by Andreas Kling
parent 6803d5dfbe
commit efc091df81

View file

@ -12,8 +12,9 @@ auth_type="sig"
auth_import_key="E3FF2839C048B25C084DEBE9B26995E310250568"
auth_opts="Python-${version}.tar.xz.asc Python-${version}.tar.xz"
# We could say depends="ncurses openssl zlib" here, but neither of the _curses, _ssl, and zlib modules
# build at the moment even with those available, so it's pointless.
# We could also add `ncurses`, `openssl`, and `zlib` here, but neither of the _curses, _ssl, and zlib
# modules build at the moment even with those available, so it's pointless.
depends="libffi"
# FIXME: the --build value is detected correctly by the configure script (via config.guess in the Python source root),
# but still needs to be set explicitly when cross compiling. Figure out how to not hardcode this.