[MacPorts] #44581: cmake and CMAKE_OSX_SYSROOT value on mac os 10.10 yosemite

MacPorts noreply at macports.org
Sat Oct 18 09:28:28 PDT 2014


#44581: cmake and CMAKE_OSX_SYSROOT value on mac os 10.10 yosemite
---------------------------------+--------------------------------
  Reporter:  daniele.pontillo@…  |      Owner:  macports-tickets@…
      Type:  defect              |     Status:  new
  Priority:  Normal              |  Milestone:
 Component:  ports               |    Version:  2.3.1
Resolution:                      |   Keywords:  yosemite
      Port:  cmake               |
---------------------------------+--------------------------------

Comment (by kap4020@…):

 If you can't download/install XCode 6.1, here's a workaround:

 1. Open
 {{{/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.0.2/Modules/Platform/Darwin.cmake}}}.
 1. Add the line {{{set(CMAKE_OSX_DEPLOYMENT_TARGET "")}}} at the top.
 1. 'sudo port install cmake'


 In patch format:

 {{{
 --- Darwin.cmake-orig   2014-10-18 12:24:56.000000000 -0400
 +++ Darwin.cmake        2014-10-18 12:25:03.000000000 -0400
 @@ -1,4 +1,5 @@
  set(APPLE 1)
 +set(CMAKE_OSX_DEPLOYMENT_TARGET "")

  # Darwin versions:
  #   6.x == Mac OSX 10.2 (Jaguar)
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/44581#comment:51>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list