aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ocaml-lacaml
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ocaml-lacaml')
-rw-r--r--devel/ocaml-lacaml/Makefile2
-rw-r--r--devel/ocaml-lacaml/files/patch-src_config_discover.ml11
2 files changed, 7 insertions, 6 deletions
diff --git a/devel/ocaml-lacaml/Makefile b/devel/ocaml-lacaml/Makefile
index e2217bd9d1a1..6e4a3e880f94 100644
--- a/devel/ocaml-lacaml/Makefile
+++ b/devel/ocaml-lacaml/Makefile
@@ -1,6 +1,6 @@
PORTNAME= lacaml
DISTVERSION= 11.0.10
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
PKGNAMEPREFIX= ocaml-
diff --git a/devel/ocaml-lacaml/files/patch-src_config_discover.ml b/devel/ocaml-lacaml/files/patch-src_config_discover.ml
index bbdbac121671..4face9928633 100644
--- a/devel/ocaml-lacaml/files/patch-src_config_discover.ml
+++ b/devel/ocaml-lacaml/files/patch-src_config_discover.ml
@@ -1,11 +1,12 @@
---- src/config/discover.ml.orig 2024-12-26 19:34:31 UTC
+--- src/config/discover.ml.orig 2023-05-16 14:23:01 UTC
+++ src/config/discover.ml
-@@ -46,7 +46,7 @@ let () =
+@@ -46,8 +46,6 @@ let () =
(* -march=native is not supported on Apple ARM64 yet.
Its support was introduced in clang >= 15.0.0 *)
match maybe_system, maybe_arch with
- | Some "macosx", Some "arm64"
-+ | Some "bsd_elf", _
- | _, (None | Some ("ppc64" | "ppc64le" | "unknown")) -> shared
- | _ -> "-march=native" :: shared
+- | _, (None | Some ("ppc64" | "ppc64le" | "unknown")) -> shared
+- | _ -> "-march=native" :: shared
++ | _ -> shared
in
+ C.Flags.write_sexp "extra_c_flags.sexp" extra_cflags)