diff options
author | gson <gson@pkgsrc.org> | 2018-02-03 10:49:48 +0000 |
---|---|---|
committer | gson <gson@pkgsrc.org> | 2018-02-03 10:49:48 +0000 |
commit | 1d92c2fdb09c5d169dc8b23e31ea8039b35e1857 (patch) | |
tree | b4446388b62d9da9aac46c2d053a90035748146b /math | |
parent | 10c9b1f5fbb1162291b241847367366065407f7b (diff) | |
download | pkgsrc-1d92c2fdb09c5d169dc8b23e31ea8039b35e1857.tar.gz |
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.
Diffstat (limited to 'math')
-rw-r--r-- | math/mpfr/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/math/mpfr/Makefile b/math/mpfr/Makefile index d423d859231..400ef4f53cd 100644 --- a/math/mpfr/Makefile +++ b/math/mpfr/Makefile @@ -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 |