Skip to content

Commit c2fe2c9

Browse files
xu-chengianml
authored andcommitted
octave: let JAVA_HOME set by depends_on :java
Closes #1896. Signed-off-by: Ian Lancaster <ilancaster@gmail.com>
1 parent 7008411 commit c2fe2c9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

octave.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ def install
126126
ENV.m64 if MacOS.prefer_64_bit?
127127
ENV.append_to_cflags "-D_REENTRANT"
128128
ENV.append "LDFLAGS", "-L#{Formula["readline"].opt_lib} -lreadline" if build.with? "readline"
129-
ENV["JAVA_HOME"] = `/usr/libexec/java_home`.chomp! if build.with? :java
130129
args = ["--prefix=#{prefix}"]
131130

132131
args << "--with-blas=-L#{Formula["openblas"].opt_lib} -lopenblas" if build.with? "openblas"

0 commit comments

Comments
 (0)