Files
naddy b6d7d9718e devel/mpfr: bug fix update to 4.2.2
Drop DIST_SUBDIR.  We can use the PATCHFILES=filename{url}sufx syntax
to rename mpfr-$V/patch-* files from upstream if required.
2025-04-28 19:57:53 +00:00

33 lines
796 B
Makefile

COMMENT= library for multiple-precision floating-point computations
DISTNAME= mpfr-4.2.2
SHARED_LIBS= mpfr 2.2 # 8.2
CATEGORIES= devel math
HOMEPAGE= https://www.mpfr.org/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# LGPLv3+
PERMIT_PACKAGE= Yes
SITES= ${HOMEPAGE}${DISTNAME}/
EXTRACT_SUFX= .tar.xz
LIB_DEPENDS= devel/gmp,no_cxx,bootstrap
WANTLIB= gmp
DEBUG_PACKAGES= ${BUILD_PACKAGES}
SEPARATE_BUILD= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --with-gmp=${LOCALBASE}
# Enabling TLS by way of libcompiler_rt's emutls requires a major version
# bump and lang/gcc will need a new bootstrap.
CONFIGURE_ARGS+=--disable-thread-safe
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples
mv ${PREFIX}/share/doc/mpfr/examples ${PREFIX}/share/examples/mpfr
.include <bsd.port.mk>