[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / math / mpfr

File: [cvs.NetBSD.org] / pkgsrc / math / mpfr / Makefile (download)

Revision 1.46, Sun Nov 27 03:17:13 2022 UTC (12 months, 1 week ago) by mef
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4
Changes since 1.45: +2 -1 lines

(math/mpfr) Adding official patch mpfr-4.1.1 to 4.1.1p

openscad-2021.01nb13 failed with math/mpfr-4.1.1
  http://www.ki.nu/pkgsrc/reports/current/NetBSD-9.0/20221123.2254/openscad-2021.01nb13/build.log

For this problem and as well as
  https://github.com/CGAL/cgal/issues/7064

patch is supplied at
  https://www.mpfr.org/mpfr-4.1.1/patch01
and patches are one of the pieces: for file to file from above.
See also:
  http://mail-index.netbsd.org/pkgsrc-users/2022/11/26/msg036540.html

 openscad has PKGREVISION++ because of icu update almost at the same time,
and not packaged since then, so no PKGREVISION++ is necessary, (OK ?)

# $NetBSD: Makefile,v 1.46 2022/11/27 03:17:13 mef Exp $

DISTNAME=	mpfr-4.1.1
PKGREVISION=	1
CATEGORIES=	math
MASTER_SITES=	http://www.mpfr.org/${DISTNAME}/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://www.mpfr.org/
COMMENT=	GMP-based library for multiple-precision floating-point computations
LICENSE=	gnu-lgpl-v3

USE_LIBTOOL=		yes
GNU_CONFIGURE=		yes
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_PLATFORM:MNetBSD-[0-9]*-*) || !empty(MACHINE_PLATFORM:MDragonFly-[0-5]*-*)
CONFIGURE_ARGS+=        --disable-float128
.endif
TEST_TARGET=		check
INFO_FILES=		yes

PKGCONFIG_OVERRIDE+=	mpfr.pc.in

BUILDLINK_API_DEPENDS.gmp+=	gmp>=5.0
.include "../../devel/gmp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

.if (${MACHINE_ARCH} == alpha)
CONFIGURE_ENV+=	CFLAGS="${CFLAGS:N-mieee}"
.endif