Commit 1876de606eb8 exposed missing symbols that the port security/krb5
installed that the base system did not install. Part of the solution
was to make libprofile.so private (not libprofile.a) just as the port
does. The actual fix for this was to put symbols and their corresponding
functions into the correct librarires, i.e. libkrb5.so and othes, so
that the libraries produced by buildworld were the same as those
produced by the port.
Unfortunately INTERNALLIB disables the include of bsd.incs.mk. This is
still needed to install profile.h into /usr/include (just as the port
installs it into ${LOCALBASE}/include. This commit fixes this by
installing profile.h itself as the port and the manual krb5 install
outside ports do.
Reported by: fluffy
Tested by: fluffy
Fixes: 1876de606eb8
MFC after: 3 days