This will tell CMake to skip rescanning the whole directory in the fake
stage: our ports infrastructure already takes care that fake happens
only after build.
From Vadim Zhukov
Tested in a bulk build and ok, jasper@
appears to work fine w/ kde4.
cmake will still generate a libfoo.so (which is useful as a placeholder to
know the lib has been built, since other directories don't have access to
the version number), but it obeys OpenBSD conventions for the actual library
now.
ld does the right thing, namely it ignores the libfoo.so and links against
libfoo.so.5.0 properly.
Also take environment into account to allow the ports tree to override
version numbers.
Todo: logfile of built libraries.