curlpp: replace CRLF with LF in curlpp-config
Closes #9326. Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
This commit is contained in:
parent
7d1580983a
commit
f4661bcac4
1 changed files with 7 additions and 0 deletions
|
@ -3,6 +3,7 @@ class Curlpp < Formula
|
|||
homepage "http://www.curlpp.org"
|
||||
url "https://github.com/jpbarrette/curlpp/releases/download/v0.7.4/curlpp-0.7.4.tar.gz"
|
||||
sha256 "7e33934f4ce761ba293576c05247af4b79a7c8895c9829dc8792c5d75894e389"
|
||||
revision 1
|
||||
|
||||
bottle do
|
||||
cellar :any
|
||||
|
@ -18,6 +19,12 @@ class Curlpp < Formula
|
|||
"--disable-silent-rules",
|
||||
"--prefix=#{prefix}"
|
||||
system "make", "install"
|
||||
|
||||
# https://github.com/jpbarrette/curlpp/issues/34
|
||||
# Workaround for #9315, replace CRLF with LF
|
||||
# This should be removed in the next release
|
||||
system "sed", "-i.bak", "-e", "s/\r//g", "#{bin}/curlpp-config"
|
||||
rm "#{bin}/curlpp-config.bak"
|
||||
end
|
||||
|
||||
test do
|
||||
|
|
Loading…
Reference in a new issue