pkgsrc-Changes archive

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

CVS commit: [pkgsrc-2022Q3] pkgsrc/lang/ocaml



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Fri Oct 21 19:16:35 UTC 2022

Modified Files:
        pkgsrc/lang/ocaml [pkgsrc-2022Q3]: Makefile

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.145 -r1.145.4.1 pkgsrc/lang/ocaml/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/ocaml/Makefile
diff -u pkgsrc/lang/ocaml/Makefile:1.145 pkgsrc/lang/ocaml/Makefile:1.145.4.1
--- pkgsrc/lang/ocaml/Makefile:1.145    Fri Jun 24 12:30:09 2022
+++ pkgsrc/lang/ocaml/Makefile  Fri Oct 21 19:16:35 2022
@@ -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 @@ BUILD_TARGET=         world
 .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