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: gson
Date: Sat Feb 3 10:49:48 UTC 2018
Modified Files:
pkgsrc/math/mpfr: Makefile
Log Message:
mpfr: disable float128 on NetBSD-7/x86_64
The mpfr configure script detects float128 support on NetBSD-7/x86_64,
and mpfr itself builds successfully with it, but other packages that
link with it, such as print/web2c, then fail to link with undefined
references to __floatunditf among other symbols. Work around this by
passing --disable-float128 to the configure script.
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/math/mpfr/Makefile
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.34 pkgsrc/math/mpfr/Makefile:1.35
--- pkgsrc/math/mpfr/Makefile:1.34 Sun Jan 28 16:18:23 2018
+++ pkgsrc/math/mpfr/Makefile Sat Feb 3 10:49:48 2018
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.34 2018/01/28 16:18:23 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2018/02/03 10:49:48 gson Exp $
DISTNAME= mpfr-4.0.0
+PKGREVISION= 1
CATEGORIES= math
MASTER_SITES= http://www.mpfr.org/${DISTNAME}/
EXTRACT_SUFX= .tar.bz2
@@ -10,7 +11,11 @@ HOMEPAGE= http://www.mpfr.org/
COMMENT= GMP-based library for multiple-precision floating-point computations
LICENSE= gnu-lgpl-v3
+.include "../../mk/bsd.prefs.mk"
GNU_CONFIGURE= yes
+.if !empty(MACHINE_PLATFORM:MNetBSD-[0-7]*-x86_64)
+CONFIGURE_ARGS+= --disable-float128
+.endif
USE_LIBTOOL= yes
TEST_TARGET= check
INFO_FILES= yes
Home |
Main Index |
Thread Index |
Old Index