minor bugfixes and removal of USE=hal, thus blocks bug 313389.
works on amd64
amd64 stable
Seems to build and install OK on SPARC, not able to test in-depth but seems OK. Could stabilise.
ppc/ppc64 stable
The remaining stabilization is going to take place in 364973.
Stabilization completed in bug 364973.