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:   he
Date:           Sun Oct 23 13:09:30 UTC 2022

Modified Files:
        pkgsrc/lang/ocaml: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.146 -r1.147 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.146 pkgsrc/lang/ocaml/Makefile:1.147
--- pkgsrc/lang/ocaml/Makefile:1.146    Sat Oct  8 11:11:16 2022
+++ pkgsrc/lang/ocaml/Makefile  Sun Oct 23 13:09:30 2022
@@ -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 @@ BUILD_TARGET=                world
     !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