Files
ports/math/mpc/Makefile
T
Gerald Pfeifer 9d5df1d5c5 math/mpc: Update to version 1.4.1
This fixes a memory leak in mpc_fr_div that was introduced in 1.4.0.
2026-04-18 22:21:10 +00:00

35 lines
701 B
Makefile

PORTNAME= mpc
DISTVERSION= 1.4.1
CATEGORIES= math devel
MASTER_SITES= GNU
MAINTAINER= gerald@FreeBSD.org
COMMENT= Library of complex numbers with arbitrarily high precision
WWW= https://www.multiprecision.org/mpc/
LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
LIB_DEPENDS= libgmp.so:math/gmp \
libmpfr.so:math/mpfr
USES= libtool pathfix tar:xz
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gmp=${LOCALBASE} \
--with-mpfr=${LOCALBASE}
INSTALL_TARGET= install-strip
TEST_TARGET= check
INFO= mpc
PLIST_FILES= include/mpc.h \
lib/libmpc.a \
lib/libmpc.so \
lib/libmpc.so.3 \
lib/libmpc.so.3.4.1 \
libdata/pkgconfig/mpc.pc
.include <bsd.port.mk>