pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/ocaml ocaml: Needs imprecise-c99-float-ops to bui...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b81fa4ed772a
branches:  trunk
changeset: 386413:b81fa4ed772a
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Oct 08 11:11:16 2022 +0000

description:
ocaml: Needs imprecise-c99-float-ops to build on NetBSD/arm

diffstat:

 lang/ocaml/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 9f472bd7286d -r b81fa4ed772a lang/ocaml/Makefile
--- a/lang/ocaml/Makefile       Sat Oct 08 11:06:35 2022 +0000
+++ b/lang/ocaml/Makefile       Sat Oct 08 11:11:16 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.145 2022/06/24 12:30:09 gdt Exp $
+# $NetBSD: Makefile,v 1.146 2022/10/08 11:11:16 nia Exp $
 
 .include "Makefile.common"
 
@@ -27,7 +27,8 @@
 .endif
 
 # configure: error: fma does not work, enable emulation with --enable-imprecise-c99-float-ops
-.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "i386"
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-i386) || \
+    !empty(MACHINE_PLATFORM:MNetBSD-*-earm*)
 CONFIGURE_ARGS+=       --enable-imprecise-c99-float-ops
 .endif
 



Home | Main Index | Thread Index | Old Index