diff options
| author | Xu Cheng | 2015-02-24 15:19:51 +0800 | 
|---|---|---|
| committer | Xu Cheng | 2015-02-24 15:46:21 +0800 | 
| commit | 3265acddf277d321a151fcc8d2d3e99dd05fb5cb (patch) | |
| tree | bd372e0679651936e6bce1746f7ed0a57e23dc86 | |
| parent | 84f9aa37611fa19159707a53ccde12f6b8afa710 (diff) | |
| download | homebrew-3265acddf277d321a151fcc8d2d3e99dd05fb5cb.tar.bz2 | |
avian: set JAVA_HOME by :java
Closes #37137.
Signed-off-by: Xu Cheng <xucheng@me.com>
| -rw-r--r-- | Library/Formula/avian.rb | 4 | 
1 files changed, 1 insertions, 3 deletions
| diff --git a/Library/Formula/avian.rb b/Library/Formula/avian.rb index f43cb4183..570e8aca8 100644 --- a/Library/Formula/avian.rb +++ b/Library/Formula/avian.rb @@ -1,5 +1,3 @@ -require "formula" -  class Avian < Formula    homepage "http://oss.readytalk.com/avian/"    head "https://github.com/ReadyTalk/avian.git" @@ -7,9 +5,9 @@ class Avian < Formula    sha1 "de51fb048b0b81a131ddbb3387adb229d3eddf2f"    depends_on :macos => :lion +  depends_on :java    def install -    ENV["JAVA_HOME"] = `/usr/libexec/java_home`.chomp      system "make", "use-clang=true"      bin.install Dir["build/macosx-*/avian*"]      lib.install Dir["build/macosx-*/*.dylib", "build/macosx-*/*.a"] | 
