dev-util/cmake uses the description found in /usr/share/cmake/Modules/FindSWIG.cmake to locate dev-lang/swig Currently, this says: FIND_PATH(SWIG_DIR SWIGConfig.cmake /usr/share/swig1.3 /usr/lib/swig1.3 /usr/local/share/swig1.3) FIND_PATH(SWIG_DIR swig.swg /usr/share/swig1.3 /usr/lib/swig1.3 /usr/local/share/swig1.3) However, none of the paths exist, as swig is (on my system swig-1.3.31 is installed) only located in /usr/share/swig/1.3.31. My fix was to create a softlink in /usr/share from swig/1.3.31 to swig1.3, but it could also be solved in FindSWIG.cmake file. Don't know which is preferable...
cmake bugs #3498, #3637, #4145 - maybe if you report is couple more times, they'll do something finally.
This bug is also holding a net-p2p/museek+ version bump. Any chance we can apply the fix provided in http://www.cmake.org/Bug/view.php?id=4145 by our side?
Anyway, a workaround for ebuilds: cmake -DSWIG_DIR="$(swig -swiglib)"
(In reply to comment #2) > This bug is also holding a net-p2p/museek+ version bump. > Any chance we can apply the fix provided in > http://www.cmake.org/Bug/view.php?id=4145 by our side? There would be a chance if I could see the bug but I don't get any mail from their bugtracker when trying to reset my password or create a new account. :-/ Mailing them didn't help either.
Created attachment 131467 [details, diff] FindSWIG.cmake Proposed patch on upstream bugtracker. Credit goes to Axel Roebel.
This is fixed in cmake-2.4.7-r2 which is currently p.masked until a dependency has been properly keyworded. Thanks, Coldwind!
I've just unmasked cmake-2.4.7-r2 which fixes this issue.