aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/chuck.rb
diff options
context:
space:
mode:
authorMisty De Meo2014-02-08 12:01:54 -0800
committerMisty De Meo2014-02-08 12:02:18 -0800
commit63b03698ac7b23db330874145a373a6ebfaf9543 (patch)
treec18c8d9560e5223a987cff2372ab47641f1b889b /Library/Formula/chuck.rb
parent016d05d1f531bade84342313f253ffaf5b77ee65 (diff)
downloadhomebrew-63b03698ac7b23db330874145a373a6ebfaf9543.tar.bz2
chuck: fix build on 10.9
Fixes #26519.
Diffstat (limited to 'Library/Formula/chuck.rb')
-rw-r--r--Library/Formula/chuck.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/Library/Formula/chuck.rb b/Library/Formula/chuck.rb
index 22d5f4f4a..4d8e39992 100644
--- a/Library/Formula/chuck.rb
+++ b/Library/Formula/chuck.rb
@@ -7,6 +7,15 @@ class Chuck < Formula
def install
cd "src" do
+ # On 10.9, chuck fails to set flags to link against the
+ # private framework it needs
+ # See: https://github.com/Homebrew/homebrew/issues/26519
+ inreplace 'makefile.osx' do |s|
+ s.change_make_var! 'LINK_EXTRAS',
+ '-F/System/Library/PrivateFrameworks -weak_framework MultitouchSupport'
+ s.remove_make_var! 'ISYSROOT'
+ end
+
system "make osx"
bin.install "chuck"
end