summaryrefslogtreecommitdiff
path: root/lang/ocaml
diff options
context:
space:
mode:
authorMikael Urankar <mikael@FreeBSD.org>2022-04-19 10:50:42 +0200
committerMikael Urankar <mikael@FreeBSD.org>2022-04-19 10:58:07 +0200
commit59a8beae54c5ba85b02ee24d9613211b701d4042 (patch)
treeb88fe08a70afae2b7c4d842b4c8c09c7b56914f8 /lang/ocaml
parentnet/natscli: update to version 0.0.32 (diff)
lang/ocaml: Unbreak on aarch64
Enable profiling on aarch64 Approved by: portmgr (build fix blanket)
Diffstat (limited to 'lang/ocaml')
-rw-r--r--lang/ocaml/Makefile1
-rw-r--r--lang/ocaml/files/patch-configure5
2 files changed, 3 insertions, 3 deletions
diff --git a/lang/ocaml/Makefile b/lang/ocaml/Makefile
index 792a5a26664c..15f40a121325 100644
--- a/lang/ocaml/Makefile
+++ b/lang/ocaml/Makefile
@@ -17,7 +17,6 @@ LICENSE_NAME_QPL10= Q Public License, Version 1.0
LICENSE_FILE_QPL10= ${WRKSRC}/LICENSE
LICENSE_PERMS_QPL10= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-BROKEN_aarch64= Does not build: sh: as: not found
BROKEN_riscv64= fails to build: hasgot.c:3:12: use of undeclared identifier 'secure_getenv'
BROKEN_sparc64= No rule to make target 'none.o', needed by 'libasmrun.a'
BROKEN_mips64= No ASM support
diff --git a/lang/ocaml/files/patch-configure b/lang/ocaml/files/patch-configure
index b7be1fa6c6ba..df53ede3357f 100644
--- a/lang/ocaml/files/patch-configure
+++ b/lang/ocaml/files/patch-configure
@@ -43,8 +43,8 @@
x86_64-*-cygwin*) arch=amd64; system=cygwin;;
esac
-@@ -1051,10 +1059,12 @@ case "$arch,$system" in
- case "$nativecc" in gcc*) ;; *) cc_profile='-xpg';; esac;;
+@@ -1086,10 +1094,13 @@ case "$arch,$system" in
+ i386,macosx) profiling='true';;
amd64,linux) profiling='true';;
amd64,openbsd) profiling='true';;
+ amd64,dragonfly) profiling='true';;
@@ -52,6 +52,7 @@
amd64,netbsd) profiling='true';;
arm,netbsd) profiling='true';;
amd64,gnu) profiling='true';;
++ arm64,freebsd) profiling='true';;
+ arm,freebsd) profiling='true';;
arm,linux*) profiling='true';;
power,elf) profiling='true';;