I upgraded the librets formula to use the latest librets-1.5.3 version.
I added a dependency on swig as OS X Lion doesn't have swig installed.
Snow Leopard may have had an old version of swig installed by default. I removed the hacks to support the old version.
I also removed the hack to support boost 1.46.0 as librets-1.5.3 already fixed this.
Upgrade librets formula to the latest librets-1.5.3. Add a dependency…
… on swig -- Lion doesn't have swig installed by default.
Added as 85a154c
Do you know if this works on Mountain lion?
No idea. Have not upgraded to Mountain Lion and probably won't upgrade for a while.