ports/math/scilab/files/patch-configure
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

29 lines
988 B
Text

--- configure.orig 2020-02-25 09:59:42 UTC
+++ configure
@@ -9995,7 +9995,7 @@ if test -z "$CXX"; then
fi
case "$CXX" in
- g++-* | g++ | ccache*g++ | ccache*g++-* )
+ g++-* | g++ | ccache*g++ | ccache*g++-* | c++ | clang++* )
## With GNU C++ Compiler
# enable the code coverage
@@ -10022,7 +10022,7 @@ esac
#### 64 bits detection
IS_64_BITS_CPU=false
case "$host" in
- x86_64-*-linux-gnu | x86_64-linux-gnu | ia64-*-linux-gnu | alpha-*-linux-gnu | alpha-*-netbsd* | x86_64-*-netbsd* | sparc64-*-netbsd*)
+ x86_64-*-linux-gnu | x86_64-linux-gnu | ia64-*-linux-gnu | alpha-*-linux-gnu | alpha-*-netbsd* | x86_64-*-netbsd* | sparc64-*-netbsd* | amd64-*-freebsd* )
IS_64_BITS_CPU=true
;;
esac
@@ -10030,7 +10030,7 @@ esac
##########"
case "$CC" in
- gcc-* | gcc | ccache*gcc | ccache*gcc-* )
+ gcc-* | gcc | ccache*gcc | ccache*gcc-* | cc | clang* )
## With GNU Compiler
# enable the code coverage