stippi/Clockwerk — pull request #2 by tgkokk (2013-12-31 11:51:33+00:00)
Title: Fixed building on Haiku when freetype is only available in x86

When creating a recipe for HaikuPorts, you declare what headers/commands/whatever you require in order to build the package, and you get only what you declare (and some others you don't declare). When you require the development headers for freetype, you get them in headers/x86/freetype2, if you are building on gcc4, and not in headers/freetype2. In BuildSettings, headers/freetype2 was added as an include dir, no matter the architecture we are building on. Now, it checks the gcc version and adds the corresponding directory.