diff options
author | Mikael Urankar <mikael@FreeBSD.org> | 2022-04-19 08:50:42 +0000 |
---|---|---|
committer | Mikael Urankar <mikael@FreeBSD.org> | 2022-04-19 08:58:07 +0000 |
commit | 59a8beae54c5ba85b02ee24d9613211b701d4042 (patch) | |
tree | b88fe08a70afae2b7c4d842b4c8c09c7b56914f8 | |
parent | 550d044ac40f0a292935b5097bdef4a70f6ca37f (diff) | |
download | ports-59a8beae54c5ba85b02ee24d9613211b701d4042.tar.gz ports-59a8beae54c5ba85b02ee24d9613211b701d4042.zip |
lang/ocaml: Unbreak on aarch64
Enable profiling on aarch64
Approved by: portmgr (build fix blanket)
-rw-r--r-- | lang/ocaml/Makefile | 1 | ||||
-rw-r--r-- | lang/ocaml/files/patch-configure | 5 |
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';; |