pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/mpfr
Module Name: pkgsrc
Committed By: martin
Date: Wed Aug 30 10:35:54 UTC 2017
Modified Files:
pkgsrc/math/mpfr: Makefile distinfo
Added Files:
pkgsrc/math/mpfr/patches: patch-acinclude.m4 patch-configure
Log Message:
Hack the pkg to at least build + install on NetBSD/alpha - may need
revisiting after closer examination of the underlying issues.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/math/mpfr/Makefile
cvs rdiff -u -r1.23 -r1.24 pkgsrc/math/mpfr/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/math/mpfr/patches/patch-acinclude.m4 \
pkgsrc/math/mpfr/patches/patch-configure
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/math/mpfr/Makefile
diff -u pkgsrc/math/mpfr/Makefile:1.31 pkgsrc/math/mpfr/Makefile:1.32
--- pkgsrc/math/mpfr/Makefile:1.31 Mon Oct 3 12:35:18 2016
+++ pkgsrc/math/mpfr/Makefile Wed Aug 30 10:35:54 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2016/10/03 12:35:18 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2017/08/30 10:35:54 martin Exp $
DISTNAME= mpfr-3.1.5
CATEGORIES= math
@@ -17,3 +17,8 @@ INFO_FILES= yes
.include "../../devel/gmp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+
+.if (${MACHINE_ARCH} == alpha)
+CONFIGURE_ENV+=CFLAGS="${CFLAGS:N-mieee}"
+.endif
+
Index: pkgsrc/math/mpfr/distinfo
diff -u pkgsrc/math/mpfr/distinfo:1.23 pkgsrc/math/mpfr/distinfo:1.24
--- pkgsrc/math/mpfr/distinfo:1.23 Mon Oct 3 12:35:18 2016
+++ pkgsrc/math/mpfr/distinfo Wed Aug 30 10:35:54 2017
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.23 2016/10/03 12:35:18 wiz Exp $
+$NetBSD: distinfo,v 1.24 2017/08/30 10:35:54 martin Exp $
SHA1 (mpfr-3.1.5.tar.bz2) = 874e84bb5959fd5a19c032cfb5d673dded4b5cff
RMD160 (mpfr-3.1.5.tar.bz2) = 18a12b1735c8d0a66115cd4c5e3c804dbe465eea
SHA512 (mpfr-3.1.5.tar.bz2) = ebf94f49e1f850db6304eec8bf3cbf592b9fb06b743e0a99a660edae3c086aa47cdd089ea958fd4631ff02a444ec034b5e45d7e9701704d74c2e2d49021e49a7
Size (mpfr-3.1.5.tar.bz2) = 1279489 bytes
+SHA1 (patch-acinclude.m4) = 62cdd6710683d2a1ab202d0122cf023bb84ade04
+SHA1 (patch-configure) = 77375ad75693f4f9665bc23687782631318481ec
Added files:
Index: pkgsrc/math/mpfr/patches/patch-acinclude.m4
diff -u /dev/null pkgsrc/math/mpfr/patches/patch-acinclude.m4:1.1
--- /dev/null Wed Aug 30 10:35:54 2017
+++ pkgsrc/math/mpfr/patches/patch-acinclude.m4 Wed Aug 30 10:35:54 2017
@@ -0,0 +1,16 @@
+$NetBSD: patch-acinclude.m4,v 1.1 2017/08/30 10:35:54 martin Exp $
+
+Remove alpha specific -miee* options currently not working on NetBSD (needs
+further investigation)
+
+--- acinclude.m4.orig 2016-09-27 09:58:14.000000000 +0200
++++ acinclude.m4 2017-08-30 12:23:59.333559123 +0200
+@@ -102,7 +102,7 @@
+ saved_CFLAGS="$CFLAGS"
+ AC_CACHE_CHECK([for IEEE-754 switches], mpfr_cv_ieee_switches, [
+ if test -n "$GCC"; then
+- mpfr_cv_ieee_switches="-mfp-rounding-mode=d -mieee-with-inexact"
++ mpfr_cv_ieee_switches=""
+ else
+ mpfr_cv_ieee_switches="-fprm d -ieee_with_inexact"
+ fi
Index: pkgsrc/math/mpfr/patches/patch-configure
diff -u /dev/null pkgsrc/math/mpfr/patches/patch-configure:1.1
--- /dev/null Wed Aug 30 10:35:54 2017
+++ pkgsrc/math/mpfr/patches/patch-configure Wed Aug 30 10:35:54 2017
@@ -0,0 +1,16 @@
+$NetBSD: patch-configure,v 1.1 2017/08/30 10:35:54 martin Exp $
+
+Remove alpha specific -miee* options currently not working on NetBSD (needs
+further investigation)
+
+--- configure.orig 2016-09-27 09:58:43.000000000 +0200
++++ configure 2017-08-30 12:24:27.235843640 +0200
+@@ -6337,7 +6337,7 @@
+ else
+
+ if test -n "$GCC"; then
+- mpfr_cv_ieee_switches="-mfp-rounding-mode=d -mieee-with-inexact"
++ mpfr_cv_ieee_switches=""
+ else
+ mpfr_cv_ieee_switches="-fprm d -ieee_with_inexact"
+ fi
Home |
Main Index |
Thread Index |
Old Index