summaryrefslogtreecommitdiff
path: root/lang/J/files/patch-make_jvars.sh
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2019-04-28 12:10:00 +0000
committerSteve Wills <swills@FreeBSD.org>2019-04-28 12:10:00 +0000
commit7cf0b81f436dcfd0278e9661cda65af4353cc29c (patch)
tree4741fe9c0c500413dcc4064ccb73a2ff0980ee3b /lang/J/files/patch-make_jvars.sh
parentdevel/dulwich: Update to 0.19.11 and allow including tests (diff)
lang/J: Update to j807-release
PR: 236454 Submitted by: João Neves <sevenjp@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=500311
Diffstat (limited to 'lang/J/files/patch-make_jvars.sh')
-rw-r--r--lang/J/files/patch-make_jvars.sh27
1 files changed, 18 insertions, 9 deletions
diff --git a/lang/J/files/patch-make_jvars.sh b/lang/J/files/patch-make_jvars.sh
index 2a76845f23d0..946183ac9f82 100644
--- a/lang/J/files/patch-make_jvars.sh
+++ b/lang/J/files/patch-make_jvars.sh
@@ -1,16 +1,25 @@
---- make/jvars.sh.orig 2018-04-09 18:05:09 UTC
+--- make/jvars.sh.orig 2019-03-10 15:55:44 UTC
+++ make/jvars.sh
-@@ -1,11 +1,11 @@
+@@ -2,7 +2,7 @@
# source shell script (read with . jvars.sh) so stuff is easy to find
# edit following if your install is not standard
--jgit=~/gitdev/jsource # git jsource folder
-+jgit=~/jsource-j808-release # git jsource folder
- jbld=~/jbld # test libraries and binaries will be put here
+-jgit=~/git/jsource # git jsource folder
++jgit=~/jsource-j807-release # git jsource folder
+ jbld=~/jbld # test libraries and binaries will be put here
- # edit platform to build - linux darwin raspberry
--jplatform=linux
-+jplatform=freebsd
+ # platform and shared library suffix
+@@ -10,7 +10,12 @@ jplatform=`uname|tr '[:upper:]' '[:lower:]'`
+ jsuffix=so
+ if [ $jplatform = "darwin" ] ; then jsuffix=dylib ; fi
+
+-CC=clang # compiler
++USE_OPENMP="${USE_OPENMP:=0}"
++if [ $USE_OPENMP -eq 1 ] ; then
++ CC=gcc8
++else
++ CC=clang # compiler
++fi
# should not be necessary to edit after here
- j32=$jbld/j32/bin/jconsole
+ tsu=$jgit/test/tsu.ijs