smac needs porting to modular X. As it is a binary program, the scripts from http://www.gentoo.org/proj/en/desktop/x/x11/porting-modular-x-howto.xml don't work. That's why I had a look at ldd smac.dynamic. Technically, we don't use smac.dynamic, but we might someday, so it is nice to have the dependencies ready.
Created attachment 76502 [details, diff] patch
Again, you've outdone yourself with another patch, making my life easier... =]