#50468: cmake doesn't build on El Capitain ----------------------+-------------------------------- Reporter: caa@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: invalid | Keywords: Port: cmake | ----------------------+-------------------------------- Comment (by b@…): As a note to the reporter. You can make the port build, without uninstalling and re-installing the /Library/Frameworks GTK2 framework, by changing line 817 in Modules/FindGTK2.cmake. Simply change the hard-coded string "/gtk/gtkversion.h" to "/gtkversion.h" - port builds fine. The string is actually a few lines down from 817. The instruction is broken over several lines. With the caveat that you should follow the instructions in the MacPorts FAQ, uninstalling and re-installing "/Library/Frameworks" frameworks is not usually necessary if you know what you're doing. Renaming folders won't work in this scenario as the problem is due to an environment variable. -- Ticket URL: <https://trac.macports.org/ticket/50468#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X