Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Mar 2026 18:57:56 +0000
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 23a2020d7f08 - main - math/p5-Math-Pari: Fix build with perl 5.42+
Message-ID:  <69cac7b4.1c720.4d9c6cbb@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by zi:

URL: https://cgit.FreeBSD.org/ports/commit/?id=23a2020d7f08475600297ea50c9ecd69ca58f227

commit 23a2020d7f08475600297ea50c9ecd69ca58f227
Author:     Ryan Steinmetz <zi@FreeBSD.org>
AuthorDate: 2026-03-30 18:57:01 +0000
Commit:     Ryan Steinmetz <zi@FreeBSD.org>
CommitDate: 2026-03-30 18:57:01 +0000

    math/p5-Math-Pari: Fix build with perl 5.42+
    
    - Bump PORTREVISION
    
    PR:             288244
    Reported by:    Dan Langille <dvl@FreeBSD.org>
---
 math/p5-Math-Pari/Makefile                        | 11 ++++-------
 math/p5-Math-Pari/files/patch-libPARI_Makefile.PL | 13 +++++++++++++
 2 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/math/p5-Math-Pari/Makefile b/math/p5-Math-Pari/Makefile
index 333a0f4f2612..6f26fbe2f48d 100644
--- a/math/p5-Math-Pari/Makefile
+++ b/math/p5-Math-Pari/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	Math-Pari
 PORTVERSION=	2.030518
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	math perl5
 MASTER_SITES=	CPAN  \
@@ -21,6 +22,8 @@ LIB_DEPENDS=	libgmp.so:math/gmp
 USES=		perl5
 USE_PERL5=	configure
 
+MAKE_JOBS_UNSAFE=yes
+
 PARI_WRKSRC=	${WRKDIR}/pari-2.3.5
 
 CFLAGS+=	-I${PARI_WRKSRC}/src/headers -I${PARI_WRKSRC}/build
@@ -70,10 +73,4 @@ post-install:
 	${INSTALL_LIB} ${PARI_WRKSRC}/build/libpari-gmp.so.2.3.5 ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/Pari
 	${LN} -s libpari-gmp.so.2.3.5 ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/Pari/libpari-gmp.so.2
 
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} >= 504200
-BROKEN=	fails to build
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/math/p5-Math-Pari/files/patch-libPARI_Makefile.PL b/math/p5-Math-Pari/files/patch-libPARI_Makefile.PL
new file mode 100644
index 000000000000..a7f52afe6bf0
--- /dev/null
+++ b/math/p5-Math-Pari/files/patch-libPARI_Makefile.PL
@@ -0,0 +1,13 @@
+--- libPARI/Makefile.PL.orig	2026-03-30 18:51:07 UTC
++++ libPARI/Makefile.PL
+@@ -351,10 +351,6 @@ test_:
+ 
+ test_:
+ 
+-test_static:
+-
+-test_dynamic:
+-
+ testdb:
+ 
+ testdb_static:


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69cac7b4.1c720.4d9c6cbb>