#42654: cmake: upgrade to 3.0.0 ----------------------+------------------- Reporter: mojca@… | Owner: css@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: cmake | ----------------------+------------------- Comment (by egall@…): Replying to [comment:4 mojca@…]:
The PortGroup needs a bunch of changes actually. But not because of the version bump. There are things that MacPorts does suboptimally, including: * always specifying the architecture, so that Fortran compiler gets `-arch x86_64` flag and subsequently nothing works (also CMake's problem, but MacPorts could avoid that) * don't add `-I/opt/local/include` to `CXXFLAGS` * automatically build out-of-source (maybe that's something that should be supported globally in MacPorts) * not so much a problem of the PortGroup, but maybe we need more patches to allow easier discovery of different packages (FindX11 still found files from /usr in some cases for example) * etc.
Anyway, I'll use that version from now on and I'll see if I bump into any problem. If any problems arise, I suspect the problems would be in CMake files provided by individual software, not so much with the PortGroup.
OK, sounds good. Hey by the way while you are working on the CMake port, could you also take a look at #41817 for me? -- Ticket URL: <https://trac.macports.org/ticket/42654#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X