summaryrefslogtreecommitdiff
path: root/lang/julia/files/patch-base_Makefile
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2023-11-15 11:26:36 +0100
committerThierry Thomas <thierry@FreeBSD.org>2023-11-15 21:36:09 +0100
commit47322ff8ea597f8c6bddcbb0bd33e9dcbc584492 (patch)
tree800fb032255069e6bffe27484f40e2c18ffd26a5 /lang/julia/files/patch-base_Makefile
parentdevel/ittapi: upgrade to v3.24.4 (diff)
lang/julia: partly remove the dependency on gfortran
Theoretically this port should not depend on gfortran, because we do not build the bundled OpenBLAS (use the system package) nor SuiteSparse (GPL libraries are deactivated). It is certainly possible to totally remove the dependency on gfortran, but this would require some more intrusive patches: this one only removes the linkage with the libraries provided by GCC (among them libgomp). Remark: this does not fix the failure reported at <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273219#c37>.
Diffstat (limited to 'lang/julia/files/patch-base_Makefile')
-rw-r--r--lang/julia/files/patch-base_Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/julia/files/patch-base_Makefile b/lang/julia/files/patch-base_Makefile
new file mode 100644
index 000000000000..99a5ca8d82bc
--- /dev/null
+++ b/lang/julia/files/patch-base_Makefile
@@ -0,0 +1,12 @@
+--- base/Makefile.orig 2023-08-24 16:20:21 UTC
++++ base/Makefile
+@@ -242,9 +242,6 @@ $(eval $(call symlink_system_library,CSL,libstdc++,6))
+ $(eval $(call symlink_system_library,CSL,libquadmath,0))
+ $(eval $(call symlink_system_library,CSL,libstdc++,6))
+ # We allow libssp, libatomic and libgomp to fail as they are not available on all systems
+-$(eval $(call symlink_system_library,CSL,libssp,0,ALLOW_FAILURE))
+-$(eval $(call symlink_system_library,CSL,libatomic,1,ALLOW_FAILURE))
+-$(eval $(call symlink_system_library,CSL,libgomp,1,ALLOW_FAILURE))
+ $(eval $(call symlink_system_library,PCRE,libpcre2-8))
+ $(eval $(call symlink_system_library,DSFMT,libdSFMT))
+ $(eval $(call symlink_system_library,LIBBLASTRAMPOLINE,libblastrampoline))