Skip to content

Commit

Permalink
chuck: fix build on 10.9
Browse files Browse the repository at this point in the history
  • Loading branch information
mistydemeo committed Feb 8, 2014
1 parent e45dfa9 commit a13d43f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Formula/chuck.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a13d43f

Please sign in to comment.