What I could compile on Haiku.
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

Comments
Re: What I could compile on Haiku.
This is wrong way: --prefix=/system , on Haiku the /system directoy is only for the wital subsystems and etc. Don't write here anything!
Use this: --prefix=/boot/common !
Re: What I could compile on Haiku.
These libs and much more was already ported to Haiku
please see all the procedures at. http://ports.haiku-files.org