On Thu, Jan 9, 2014 at 6:00 PM, Christian Weisgerber <na...@mips.inka.de> wrote: > David Coppa: > >> Attached you have the right diff, they're three commits from upstream: >> >> http://cmake.org/gitweb?p=cmake.git;a=commit;h=7435ae7c97590a0713d86b63add761d5e1607ec1 >> http://cmake.org/gitweb?p=cmake.git;a=commit;h=bc49d820a276243324003bc34d92a69194938adf >> http://cmake.org/gitweb?p=cmake.git;a=commit;h=9b08e3f5993eb004e3eb0d9ae8b593f553989f89 > > That looks sensible. Going through the list of affected cmake-using > ports, I can confirm that it fixes these: > > games/easyrpg > games/megaglest/base > graphics/blender > print/scribus > x11/slim > > This one I couldn't build because php needs to be fixed first: > geo/mapserver > > These still fail: > graphics/darktable > graphics/openscenegraph > lang/io > x11/ogre > > ===> graphics/darktable > CMake Error: The following variables are used in this project, but they are > set to NOTFOUND. > Please set them or make sure they are set and tested correctly in the CMake > files: > Freetype_INCLUDE_DIR (ADVANCED) > > ===> graphics/openscenegraph > /usr/obj/openscenegraph-3.2.0/OpenSceneGraph-3.2.0/src/osgPlugins/freetype/FreeTypeFont.cpp:461: > error: 'FT_Outline_Decompose' was not declared in this scope > > ===> lang/io > Error: > /usr/obj/io-20110905/fake-amd64/usr/local/lib/io/addons/Font/CMakeLists.txt > does not exist > > ===> x11/ogre > -- The following REQUIRED packages could NOT be located on your system. > + freetype: Portable font engine <http://www.freetype.org>
These are probably using a local FindFreetype.cmake module file. So, we have two ways here: we can remove them at pre-configure stage so the port will use the system one from /usr/local/share/cmake/Modules/FindFreetype.cmake or we can patch the local ones too... ciao, David