- Use CFLAGS and CXXFLAGS instead of CMAKE_CXX_FLAGS and CMAKE_C_FLAGS.
- Use MODCMAKE_LDFLAGS instead of CMAKE_EXE_LINKER_FLAGS
- Fix broken builds with CMake 3.23
Remove the webkit/webengine-wxneeded hack in cmComputeLinkInformation.cxx
and add USE_WXNEEDED=Yes to all cmake webkit/webengine consumer.
Background knowledge about the "hack":
It searches for webkit/webengine (lower-case search) in all link-entries for
EXECUTABLE/SHARED_LIBRARY targets. If the search match it adds
"-Wl,-z,wxneeded".
Feedback, help and OK sthen@ Thanks!
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.
This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.
Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.