On Sat, Dec 21, 2013 at 12:52 +0100, Markus Koschany wrote: > performous currently FTBFS because the software ships a local cmake > module, FindFreeType.cmake, instead of using Debian's system default > module for cmake. However simply removing the local module did not help > (normally cmake falls back to the system's default then), thus I have > created a small patch to address this problem.
tl;dr : I think Markus's patch is good. Sending this anyway to save other people from looking at #731089. There's a very recent bugfix for FreeType in CMake: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731089 Source-Version: 2.8.12.1-1.1 But even when the system module works, Performous's other CMake modules don't, they use a different capitalisation and sometimes different names for variables set by FindFreetype.cmake. Simply deleting all the local cmake modules isn't an easy option either, not all of them have matching system-supplied ones. > + find_path(Freetype_INCLUDE_DIR > +- NAMES freetype/freetype.h > ++ NAMES freetype2/freetype.h I don't think this one is perfect. IIUC, according to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731015#10 the only reliable header filename is "ft2build.h". But after writing the rest of this, I think it's the right fix. Thanks, Steve -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org