pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/ocaml



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.146 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.146
--- pkgsrc/lang/ocaml/Makefile:1.145    Fri Jun 24 12:30:09 2022
+++ pkgsrc/lang/ocaml/Makefile  Sat Oct  8 11:11:16 2022
@@ -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 @@ 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