[Bug 295319] devel/cmake: Update to 4.3.2 (WIP)
| Newsgroups | gmane.comp.kde.freebsd |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295319 Daniel Engberg <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Summary|Request: devel/cmake in |devel/cmake: Update to |tree is the legacy release |4.3.2 (WIP) |(3.x); many new helpful | |features available in 4.x | --- Comment #3 from Daniel Engberg <[email protected]> --- We probably need to do some wrapping like Alpine for incompatible ports (and actually drop a lot of abandonware) but lets start somewhere... This gets the build at least going, things that needs to be evaluated: https://cgit.freebsd.org/ports/tree/devel/cmake-core/files/patch-Modules_FindBoost.cmake - Not included, needs evaluation and possibly upstreaming https://cgit.freebsd.org/ports/tree/devel/cmake-core/files/patch-Modules_FindSDL.cmake - Not included, needs evaluation although upon a brief review it seems to be unnecessary? https://cgit.freebsd.org/ports/tree/devel/cmake-core/files/patch-Modules_GNUInstallDirs.cmake - Needs reviewing Debian takes it a step further compared to our Python patch, should ours be adjusted or is this even necessary? https://cgit.freebsd.org/ports/tree/Mk/Uses/python.mk#n849 https://sources.debian.org/patches/cmake/4.3.1-1/0001-Prefer-default-Python-version.patch/ https://cgit.freebsd.org/ports/tree/devel/cmake-core/files/patch-Source_CPack_cmCPackFreeBSDGenerator.cxx - Needs evaluation https://cgit.freebsd.org/ports/tree/devel/cmake-core/files/patch-Source_cmRuntimeDependencyArchive.cxx - Needs evaluation / upstreaming? devel/cmake-gui IS NOT TESTED AT ALL Regarding port Makefile Some rearragements to make it easier to read and follow Evaluate LICENSE section, I just mapped to LICENSE_FILE to ${WRKSRC}/LICENSE.rst to avoid error messages. https://src.fedoraproject.org/rpms/cmake/blob/rawhide/f/cmake.spec#_99 *_WRKSRC should probably be included in cmake.mk ? Drop InitialCache.cmake as we can pass all information directly via CONFIGURE_ARGS and it seems to work. https://src.fedoraproject.org/rpms/cmake/blob/rawhide/f/cmake.spec#_368 Use ninja for building, slightly faster but also provides a nice progressbar. CPACK_ENABLE_FREEBSD_PKG fails to compile out of the box Rip out ccache "hacks" for now, we can look into that later as its not crucial and I'm not sure how useful it is in the end. Look into unit testing Review post-patch section I think that should be all for now -- You are receiving this mail because: You are the assignee for the bug.