- 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.
with two different versions of py-sip; the old one configured to only
produce the module for py-qt5 (in devel/py-sip) and the actual sip in
x11/py-sip-qt5, with broken update chain and which didn't entirely
make sense.
in particular: py-sip is now actually (a newer version of) sip again,
with py2 support dropped (current versions don't have it). other ports
using this are changed to the newer build system using "sip-build"
where possible.
for the future we will need to move to sip 6.x which drops the older
build system using the "sip5" or "sip" script; other ports (veusz, and
i think qgis) don't work with that yet.
undefined references to
QOpenGLExtension_ARB_tessellation_shader::QOpenGLExtension_ARB_tessellation_shader
QOpenGLExtension_ARB_tessellation_shader::initializeOpenGLFunctions
QOpenGLExtension_ARB_framebuffer_object::initializeOpenGLFunctions
QOpenGLExtension_ARB_framebuffer_object::QOpenGLExtension_ARB_framebuffer_object
in libQt53DRender.so.2.0 when linking qgis_3drenderingtest
In some build environments, the patch command would revert the diff...
Patching file src/core/CMakeLists.txt using Plan A...
Reversed (or previously applied) patch detected! Assume -R? [y]
Hunk #1 succeeded at 1317 with fuzz 2 (offset 424 lines).
... and thus reintroduce the problem the diff was intended to fix.