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.