mxcl/homebrew — pull request #12213 by 2bits (2012-05-12 17:16:15+00:00)
Title: avidemux: fix failing inreplace

The two inreplaces that add an RPATH to the x264 and xvid dylibs
are not meant to run unless the Qt gui is built. The conditional
that stops them from running was not coded correctly. This commit
changes the conditional to only run the inreplaces if Qt4 is
installed using `linked_keg.exist?`.

Fixes an issue reported in #12051