Support forced link in homebrew addon


We need gettext for our build so it was added to homebrew.packages. However it simply reports “Skipping install of gettext formula. It is already up-to-date” and does not do anything. But it is not linked properly so CMake is unable to find it (msgmerge and msgfmt executables are not found in standard paths)

The solution so far was to issue brew link gettext --force

This is quite inconvenient as it does mean one needs an additional, OSX-specific install step.

Can this be fixed at an upper level? Or can this force-link option be integrated into the homebrew addon?