MPC 1.2.1 only fixes two bugs: - an intermediate overflow in asin, - an incompatibility problem with GMP 6.0 and before (where we have a newer version in the tree since 2017). PR: 254413
29 lines
637 B
Makefile
29 lines
637 B
Makefile
# Created by: Wen Heping <wenheping@gmail.com>
|
|
|
|
PORTNAME= mpc
|
|
PORTVERSION= 1.2.1
|
|
CATEGORIES= math devel
|
|
MASTER_SITES= GNU
|
|
|
|
MAINTAINER= gerald@FreeBSD.org
|
|
COMMENT= Library of complex numbers with arbitrarily high precision
|
|
|
|
LICENSE= LGPL3+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
|
|
|
|
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
|
|
TEST_TARGET= check
|
|
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.2.1
|
|
|
|
.include <bsd.port.mk>
|