ports/math/scilab/files/extra-patch-bin-JAVA_HOME
Max Brazhnikov 436139c7b3 math/scilab:
- Update to 6.1.0. Requires decent c++ compiler and iconv from ports.
- Clean up patch target: remove no longer needed patches and those ones which
  don't affect build - at least for me.
- Remove MAKE_JOBS_UNSAFE. It was added in svn r417126 arguing that many
  ocaml-dependent ports are not jobs safe, but there were no logs to analyse.
  The plist change in that commit is unrelated to jobs safety.
2020-05-31 13:11:27 +00:00

10 lines
261 B
Text

--- bin/scilab.orig 2020-02-25 09:59:42 UTC
+++ bin/scilab
@@ -1,4 +1,7 @@
#!/bin/sh
+
+[ -z "$JAVA_HOME" ] && JAVA_HOME=%%JAVA_HOME%%
+
#
# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
# Copyright (C) INRIA - 2006-2008 - Sylvestre Ledru