forked from Lainports/freebsd-ports
- New functions:
. mpc_cmp_abs
. mpc_rootofunity
- Rewrite of the testing framework and a new mpcbench tool, used with
`make bench`.
- Bug fixes and improvements of existing functions:
. Fixed compilation with mpfr 4.0.0.
. Fixed handling of over- and underflows with directed rounding in the
"other direction" for mpc_cos, mpc_sin, mpc_exp and mpc_pow
. Fixed a bug in mpc_atan(0,y) with |y| near 1.
- Minimally required dependencies are now gmp 5.0.0 and mpfr 3.0.0
(way below what the standard Ports Collection provides).
PR: 225968
Tested by: antoine (exp-run)
29 lines
658 B
Makefile
29 lines
658 B
Makefile
# Created by: Wen Heping <wenheping@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mpc
|
|
PORTVERSION= 1.1.0
|
|
CATEGORIES= math devel
|
|
MASTER_SITES= GNU
|
|
|
|
MAINTAINER= gerald@FreeBSD.org
|
|
COMMENT= Library of complex numbers with arbitrarily high precision
|
|
|
|
LIB_DEPENDS= libgmp.so:math/gmp \
|
|
libmpfr.so:math/mpfr
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-gmp=${LOCALBASE} \
|
|
--with-mpfr=${LOCALBASE}
|
|
INSTALL_TARGET= install-strip
|
|
USES= libtool
|
|
USE_LDCONFIG= yes
|
|
|
|
INFO= mpc
|
|
PLIST_FILES= include/mpc.h \
|
|
lib/libmpc.a lib/libmpc.so lib/libmpc.so.3 lib/libmpc.so.3.1.0
|
|
|
|
regression-test: build
|
|
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check)
|
|
|
|
.include <bsd.port.mk>
|