Add libgcc to libraries list
Set KDED_WORKAROUND for non-NetBSD case too
Solaris's grep and sh works in a different way, we need a different
BUILDLINK_FILES_CMD
Fix typos in c++ file in !netbsd case
Use CXXLINK for linking c++ libraries
buildlink2.mk files back into the main trunk. This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.