swig is not keyworded on your arches. Please keyword it and remove the workaround in the lcms-1.15 ebuild.
Why is swig a dependency of lcms? And looking at the lcms ebuild it appears to be for anything that is not x86-fbsd. Swig is a programming language translator that is used to convert things from say c to python and to create wrappers for using libraries from languages other than the one the library was written in. For example to create a python wrapper for a c library. If free BSD does not need swig why is this needed anywhere else? In fact I was able to get lcms to build correctly by hand without swig installed on my machine.
Have a look at 148728. It is needed for python 2.5. The ugly workaround is because it was not keyworded when I fixed the other bug.
seems this change has not fixed it, waiting for python herd to help ..