pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2022Q3]: pkgsrc/lang/ocaml Pullup ticket #6686 - requested by nia



details:   https://anonhg.NetBSD.org/pkgsrc/rev/145d995a0e09
branches:  pkgsrc-2022Q3
changeset: 387093:145d995a0e09
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Fri Oct 21 19:16:35 2022 +0000

description:
Pullup ticket #6686 - requested by nia
lang/ocaml: evbarm build fix

Revisions pulled up:
- lang/ocaml/Makefile                                           1.146

---
   Module Name: pkgsrc
   Committed By:        nia
   Date:                Sat Oct  8 11:11:16 UTC 2022

   Modified Files:
        pkgsrc/lang/ocaml: Makefile

   Log Message:
   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 5d97228baeaf -r 145d995a0e09 lang/ocaml/Makefile
--- a/lang/ocaml/Makefile       Fri Oct 21 19:16:27 2022 +0000
+++ b/lang/ocaml/Makefile       Fri Oct 21 19:16:35 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.145 2022/06/24 12:30:09 gdt Exp $
+# $NetBSD: Makefile,v 1.145.4.1 2022/10/21 19:16:35 bsiegert 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