* The patch is based on the 2.8.4 patch, i.e. keeps the changes from it (save
for corrected indentation).
* Clean up superfluous checks where it was assumed that Haiku defines the
__BEOS__ cpp macro.
* Platform/Haiku.cmake:
- No longer define the BEOS CMake variable, but define HAIKU instead. Adjust
all checks accordingly.
- No longer include Platform/UnixPaths. There isn't really anything helpful
in it for us. Instead define UNIX directly and use the correct Haiku paths.
- Also add the */non-packaged paths, although they don't exist on a non-PM
Haiku. Will require less changes later.
- Clean up a few variables that weren't correct according to the
documentation (like CMAKE_DL_LIBS) and add missing ones.
* cmExportCommand.cxx, cmFindPackageCommand.cxx, cmLocalGenerator.cxx,
CPack/cmCPackGenerator.cxx: No longer use BPath and the C++ find_directory().
Now use the C find_directory() instead, getting rid of the otherwise
unnecessary libbe dependency.