This is the software I could compile on Haiku:
libSDL (http://www.libsdl.org/), libSDL_image, libSDL_mixer but not libSDL_ttf.
libpcre (http://www.pcre.org/)
CMake (http://www.cmake.org/)
Use --prefix=/system
I’m going to try more software.
Edit: I could compile libSDL_ttf with --build=i586-pc-beos