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: gdt
Date: Fri Jun 24 12:30:09 UTC 2022
Modified Files:
pkgsrc/lang/ocaml: Makefile
Log Message:
lang/ocaml: Add workaround for NetBSD/i386 build
The build errored with:
configure: error: fma does not work, enable emulation with --enable-imprecise-c99-float-ops
and thus that arg is passed to configure.
With the change, ocaml builds, and that unison builds and works.
(No change on any other platform.)
To generate a diff of this commit:
cvs rdiff -u -r1.144 -r1.145 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.144 pkgsrc/lang/ocaml/Makefile:1.145
--- pkgsrc/lang/ocaml/Makefile:1.144 Tue May 24 18:25:38 2022
+++ pkgsrc/lang/ocaml/Makefile Fri Jun 24 12:30:09 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.144 2022/05/24 18:25:38 jaapb Exp $
+# $NetBSD: Makefile,v 1.145 2022/06/24 12:30:09 gdt Exp $
.include "Makefile.common"
@@ -26,6 +26,11 @@ CONFIGURE_ARGS+= --disable-native-compil
BUILD_TARGET= world
.endif
+# configure: error: fma does not work, enable emulation with --enable-imprecise-c99-float-ops
+.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "i386"
+CONFIGURE_ARGS+= --enable-imprecise-c99-float-ops
+.endif
+
# This is needed because ${WRKSRC}/build/partial-install.sh uses
# $PWD as part of its script. However, with /bin/sh on SunOS
# (cd work/foo-1.0 && echo $PWD) will show that the value of PWD is
Home |
Main Index |
Thread Index |
Old Index