Emacs and OpenSolaris
Peter Buckingham has a blog entry about how he built Emacs on OpenSolaris. It's very staright forward.
Rumor has it that Emacs is coming soon to the OpenSolaris repository so this type of thing won't be necessary unless you are truely hard core.