[MacPorts] #36287: cmake +gui installed in a wrong place and without bin/cmake

MacPorts noreply at macports.org
Sun Oct 7 08:18:29 PDT 2012


#36287: cmake +gui installed in a wrong place and without bin/cmake
------------------------------+-------------------
  Reporter:  robsonpeixoto@…  |      Owner:  css@…
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.1.2
Resolution:                   |   Keywords:
      Port:  cmake            |
------------------------------+-------------------

Comment (by Torsten.Maehne@…):

 I agree, it relates to #30539. Not all necessary patches are applied by
 the CMake 2.8.9 Portfile. Especially, {{{patch-CMakeLists.txt.diff}}} has
 been commented out, which causes the application bundle to be created in
 {{{${prefix}/}}} if the {{{+gui}}} variant is selected. In consequence,
 the CMake command line tools are not anymore installed under the usual
 {{{${prefix}/bin}}} path. Additionally, warnings and errors are generated
 when applying the patches in {{{patch-CMakeLists.txt.diff}}} and {{{patch-
 Modules-FindQt4.cmake.diff}}} due to changes in the upstream source code.

 The attached patch {{{fix-cmake-2.8.9-port-gui-variant.patch}}} fixes the
 CMake 2.8.9 port. It updates the patches so that they can be applied
 without error. CMake is installed under {{{${prefix}/}}} in the same
 layout as without the {{{+gui}}} variant. The CMake app bundle is manually
 created as described in #30539 by configuring an appropriate Infos.plist
 and linking to cmake-gui from the app bundle. Thus, non of the installed
 files of CMake are duplicated by copying them in the app bundle, which is
 installed in the Applications/MacPorts folder.

 Once this patch is applied, also #30539 can be closed.

-- 
Ticket URL: <https://trac.macports.org/ticket/36287#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list