summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2025-07-26 10:00:08 +0200
committerMathieu Arnold <mat@FreeBSD.org>2025-07-26 10:38:31 +0200
commit07139930bfe692006957d11ee3232c851bc7a051 (patch)
treedc66fd70d0447bdfa276cd0529581f813d100995
parentdevel/fungw: mark as broken with Perl 5.42+ (diff)
math/p5-Math-Pari: mark broken for Perl 5.42+
../src/kernel/none/level1.h:178:1: error: redefinition of 'evallg' 178 | evallg(long x) | ^ ../src/kernel/none/level1.h:178:1: note: previous definition is here 178 | evallg(long x) PR: 288020
-rw-r--r--math/p5-Math-Pari/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/p5-Math-Pari/Makefile b/math/p5-Math-Pari/Makefile
index ea6d64f7e86a..333a0f4f2612 100644
--- a/math/p5-Math-Pari/Makefile
+++ b/math/p5-Math-Pari/Makefile
@@ -70,4 +70,10 @@ 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.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 504200
+BROKEN= fails to build
+.endif
+
+.include <bsd.port.post.mk>