Add the current revision of the debug symbols patch.
Some fixes:
- Update usr mtree file.
- Add separate rules for ports.
Use a variable for the "full" binary or shared library.

Fix breakage of the beforelinking target.
Don't pass -d to install(1) when installing debug symbols for ports.