ponyc: revision for llvm

depend on llvm@3.9
This commit is contained in:
ilovezfs 2017-03-14 04:40:49 -07:00
parent 6b7c3dd1e2
commit dd84e678b5

View file

@ -3,6 +3,7 @@ class Ponyc < Formula
homepage "http://www.ponylang.org"
url "https://github.com/ponylang/ponyc/archive/0.11.1.tar.gz"
sha256 "5bac06a49940c7be74b8ff9798e39e57bea8d8b549c6dbe61bbf0067a117f50b"
revision 1
bottle do
cellar :any_skip_relocation
@ -12,7 +13,7 @@ class Ponyc < Formula
end
depends_on :macos => :yosemite
depends_on "llvm"
depends_on "llvm@3.8"
depends_on "libressl"
depends_on "pcre2"
needs :cxx11
@ -28,7 +29,7 @@ class Ponyc < Formula
def install
ENV.cxx11
ENV["LLVM_CONFIG"]="#{Formula["llvm"].opt_bin}/llvm-config"
ENV["LLVM_CONFIG"]="#{Formula["llvm@3.8"].opt_bin}/llvm-config-3.8"
system "make", "config=release", "destdir=#{prefix}", "install", "verbose=1"
end