pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/ocaml lang/ocaml: let this build for NetBSD power...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0ac03631eca3
branches: trunk
changeset: 387135:0ac03631eca3
user: he <he%pkgsrc.org@localhost>
date: Sun Oct 23 13:09:30 2022 +0000
description:
lang/ocaml: let this build for NetBSD powerpc before 9.99.99 too.
...by enabling --enable-imprecise-c99-float-ops in those cases,
fma(3) was added to powerpc between 9.99.98 and 9.99.99.
diffstat:
lang/ocaml/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 84307a9d0df6 -r 0ac03631eca3 lang/ocaml/Makefile
--- a/lang/ocaml/Makefile Sun Oct 23 10:45:50 2022 +0000
+++ b/lang/ocaml/Makefile Sun Oct 23 13:09:30 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.146 2022/10/08 11:11:16 nia Exp $
+# $NetBSD: Makefile,v 1.147 2022/10/23 13:09:30 he Exp $
.include "Makefile.common"
@@ -31,6 +31,10 @@
!empty(MACHINE_PLATFORM:MNetBSD-*-earm*)
CONFIGURE_ARGS+= --enable-imprecise-c99-float-ops
.endif
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-powerpc) && (${OPSYS_VERSION} < 99999)
+# fma(3) was added for powerpc between 9.99.98 and 9.99.99
+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
Home |
Main Index |
Thread Index |
Old Index