aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisty De Meo2014-02-11 15:33:59 -0800
committerMisty De Meo2014-02-11 15:34:36 -0800
commita9077af885e0cc708b535203e7a39866473b2702 (patch)
tree18e345060a9b152c42fe9ad8297d3f60df46d477
parent83d317cf7c0feff60fc6e0ef190cf951411efbb1 (diff)
downloadhomebrew-a9077af885e0cc708b535203e7a39866473b2702.tar.bz2
chuck: ensure inreplace doesn't break makefile
-rw-r--r--Library/Formula/chuck.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/chuck.rb b/Library/Formula/chuck.rb
index 3ab39af44..ac84e0dd8 100644
--- a/Library/Formula/chuck.rb
+++ b/Library/Formula/chuck.rb
@@ -11,6 +11,8 @@ class Chuck < Formula
# private framework it needs
# See: https://github.com/Homebrew/homebrew/issues/26519
inreplace 'makefile.osx' do |s|
+ # Continuation of another line, which the change_make_var! will mangle
+ s.gsub! ' -weak_framework MultitouchSupport', ''
s.change_make_var! 'LINK_EXTRAS',
'-F/System/Library/PrivateFrameworks -weak_framework MultitouchSupport'
s.remove_make_var! 'ISYSROOT'