Skip to content

Commit

Permalink
radare2: rebuild
Browse files Browse the repository at this point in the history
* radare2: workaround for Xcode12
  This change already exists in the upstream repository

  It's also unclear if this license is "LGPL-3.0-only" or "3.0-or-later";
  the individual source files don't include the traditional boilerplate.
* remove comment per PR review

Closes #66357.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
  • Loading branch information
mitchblank authored and BrewTestBot committed Dec 7, 2020
1 parent 859d9f9 commit c54e947
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Formula/radare2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class Radare2 < Formula
homepage "https://radare.org"
url "https://github.com/radareorg/radare2/archive/4.5.1.tar.gz"
sha256 "4e85b35987bd2ca5881ad9585970b970fe7374814bd383bd1cd62e961a0c228b"
license "LGPL-3.0"
license "LGPL-3.0-only"
head "https://github.com/radareorg/radare2.git"

bottle do
Expand All @@ -13,6 +13,8 @@ class Radare2 < Formula
end

def install
# Workaround for Xcode 12 from https://github.com/radareorg/radare2/pull/17879/files
inreplace "mk/darwin.mk", "$(XCODE_VERSION_MAJOR),11", "$(shell test $(XCODE_VERSION_MAJOR) -gt 10;echo $$?),0"
system "./configure", "--prefix=#{prefix}"
system "make"
system "make", "install"
Expand Down

0 comments on commit c54e947

Please sign in to comment.