radare2: fix inreplace

Fixes Homebrew/homebrew#32337.
master
Jack Nagel 2014-09-16 13:43:46 -05:00
parent 19fd87d3a3
commit af86b6368f
1 changed files with 2 additions and 5 deletions

View File

@ -37,11 +37,8 @@ class Radare2 < Formula
resource("bindings").stage do
ENV.append_path "PKG_CONFIG_PATH", "#{lib}/pkgconfig"
# OSX build fix from pull request #18.
# * https://github.com/radare/radare2-bindings/pull/18
inreplace "python-config-wrapper" do |s|
s.gsub! "\s", "\ "
end
# https://github.com/radare/radare2-bindings/pull/18
inreplace "python-config-wrapper", '\s', '\ '
system "./configure", "--prefix=#{prefix}"
system "make"