Opened 12 years ago

Closed 12 years ago

#33388 closed update (fixed)

cmake: update to 2.8.7

Reported by: maehne (Torsten Maehne) Owned by: cssdev
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: haspatch Cc:
Port: cmake

Description

Please update the cmake port to 2.8.7. I attach a patch with the necessary changes. It also includes a fix for Xcode 4.3 proposed by Jamie Kirkpatrick that fixes compatibility with Xcode 4.3 on systems without older versions of Xcode installed. It assumes the user has installed the CLI tools by opening the Xcode preferences window and choosing them from there. This partially solves CMake BT ticket #12621.

Attachments (1)

patch-cmake-2.8.7-port.diff (6.6 KB) - added by maehne (Torsten Maehne) 12 years ago.
Patch to update port cmake from 2.8.6 to 2.8.7

Download all attachments as: .zip

Change History (6)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: css removed
Owner: changed from macports-tickets@… to css@…
Summary: Please update cmake port to 2.8.7cmake: update to 2.8.7

The Cc field must contain complete email addresses.

comment:2 Changed 12 years ago by cssdev

Status: newassigned

I can't verify with Lion or XCode 4.2 or 4.3 yet, but I'll check that it builds on Snow Leopard at the very least.

comment:3 Changed 12 years ago by maehne (Torsten Maehne)

I successfully built CMake 2.8.7 using the patch with Xcode 4.2.1 on OS X 10.7.3 and use it for building my projects. I cannot reliably test the patch for partial Xcode 4.3 compatibility, as I had to roll back to Xcode 4.2.1 due to some urgent projects relying on CMake. The patch allows me to at least complete a CMake run with Xcode 4.3 present to generate an Xcode project. However, there's still the issue with the not correctly configured path to the Mac OS X SDK mentioned in the above CMake bug tickets. Maybe someone else could test with a clean Xcode 4.3 install?

Changed 12 years ago by maehne (Torsten Maehne)

Attachment: patch-cmake-2.8.7-port.diff added

Patch to update port cmake from 2.8.6 to 2.8.7

comment:4 Changed 12 years ago by maehne (Torsten Maehne)

I just updated the proposed port patch to includes additional fixes by Andrew Hill ( cmake-xcode-4.3-compat.patch) added to CMake ticket #12621. With this additional patch CMake 2.8.7 works for me with Xcode 4.2.1 and Xcode 4.3. I tested the Unix Makefile and Xcode project generators.

comment:5 Changed 12 years ago by cssdev

Resolution: fixed
Status: assignedclosed

Seems to work for me! Thanks for the patch! I committed it to r90330.

Note: See TracTickets for help on using tickets.