git: 181573cf2c3a - main - math/p5-Math-Pari: update to 2.030518

From: Rodrigo Osorio <rodrigo_at_FreeBSD.org>
Date: Wed, 19 Mar 2025 16:11:12 UTC
The branch main has been updated by rodrigo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=181573cf2c3a66d3fac21cc0ca11d1eb389ae2ec

commit 181573cf2c3a66d3fac21cc0ca11d1eb389ae2ec
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2025-03-19 15:30:56 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2025-03-19 16:07:53 +0000

    math/p5-Math-Pari: update to 2.030518
    
    Changelog: https://metacpan.org/dist/Math-Pari/changes
    
    Bump PORTEPOCH due to perl version inconsistency
---
 math/p5-Math-Pari/Makefile                |  4 ++--
 math/p5-Math-Pari/distinfo                |  6 +++---
 math/p5-Math-Pari/files/patch-Makefile.PL | 29 +++++++++--------------------
 math/p5-Math-Pari/pkg-plist               |  2 ++
 4 files changed, 16 insertions(+), 25 deletions(-)

diff --git a/math/p5-Math-Pari/Makefile b/math/p5-Math-Pari/Makefile
index c2bd83eabdc9..ea6d64f7e86a 100644
--- a/math/p5-Math-Pari/Makefile
+++ b/math/p5-Math-Pari/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	Math-Pari
-PORTVERSION=	2.01080900
-PORTREVISION=	2
+PORTVERSION=	2.030518
+PORTEPOCH=	1
 CATEGORIES=	math perl5
 MASTER_SITES=	CPAN  \
 		http://pari.math.u-bordeaux.fr/pub/pari/unix/OLD/2.3/:pari \
diff --git a/math/p5-Math-Pari/distinfo b/math/p5-Math-Pari/distinfo
index 8bbdd6a09855..b378f777b903 100644
--- a/math/p5-Math-Pari/distinfo
+++ b/math/p5-Math-Pari/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1485271442
-SHA256 (Math-Pari-2.01080900.zip) = 5845d9350fe0cd9d909d71b6d6b88ab67d17da88f4b0df6570938583d6f365fc
-SIZE (Math-Pari-2.01080900.zip) = 166396
+TIMESTAMP = 1742395262
+SHA256 (Math-Pari-2.030518.zip) = dc38955a9690be6bafa8de2526212377c3ec9fe8da5ec02263a9caf94b58bb91
+SIZE (Math-Pari-2.030518.zip) = 232718
 SHA256 (pari-2.3.5.tar.gz) = 47ddae1af73b4476660d2a89338483949067a97ffb8758c82e8189dfa4c89d88
 SIZE (pari-2.3.5.tar.gz) = 2018097
diff --git a/math/p5-Math-Pari/files/patch-Makefile.PL b/math/p5-Math-Pari/files/patch-Makefile.PL
index 7a985018a7d5..57dbb1d7b953 100644
--- a/math/p5-Math-Pari/files/patch-Makefile.PL
+++ b/math/p5-Math-Pari/files/patch-Makefile.PL
@@ -1,22 +1,11 @@
---- Makefile.PL.orig	2016-05-07 03:14:29 UTC
+--- Makefile.PL.orig	2025-03-19 14:58:34 UTC
 +++ Makefile.PL
-@@ -142,9 +142,9 @@ if ($os eq "solaris") {
- }
- 
- my %opts;
-+  make_pod 'libPARI.pod', '-to_pod', $paridir; # Now the docs
- unless ($common::parilib) {
-   build_tests $paridir;		# Convert the test suite
--  make_pod 'libPARI.pod', '-to_pod', $paridir; # Now the docs
-   make_pod 'libPARI.dumb.pod', '-to_dumb_pod', $paridir;
-   # ... and paricfg.h
-   %opts = build_paricfg($paridir, $common::do_configure, $pari_version);
-@@ -199,7 +199,7 @@ my $extra_inc = extra_includes($paridir)
- # the contents of the Makefile being created.
- &WriteMakefile(
- 	       LIBS	     =>  $libs,
--	       INC	     => $extra_inc . ' -I $(PARI_DIR)/src/headers -I $(PARI_DIR)/src -I ./libPARI',
-+	       INC	     => '-I$(PARI_DIR)/src',
- 	       NAME	     => 'Math::Pari',
- 	       ($common::parilib ? () :
+@@ -255,7 +255,7 @@
+ 		 ) :
  		 (MYEXTLIB   =>  'libPARI/libPARI$(LIB_EXT)')),
+ 		  LIBS	     =>  $libs,
+-		  INC	     =>  $extra_inc . ' -I $(PARI_DIR_SRC)/headers -I $(PARI_DIR_SRC) -I ./libPARI',
++		  INC	     =>  '-I$(PARI_DIR)/src',
+ 	       VERSION_FROM  => 'Pari.pm',
+     ($] >= 5.005 ?     ## Add these new keywords supported since 5.005
+       (ABSTRACT_FROM  => 'Pari.pm', # retrieve abstract from module
diff --git a/math/p5-Math-Pari/pkg-plist b/math/p5-Math-Pari/pkg-plist
index 0e310decbf48..520e4cf6f838 100644
--- a/math/p5-Math-Pari/pkg-plist
+++ b/math/p5-Math-Pari/pkg-plist
@@ -3,6 +3,8 @@
 %%PERL5_MAN3%%/Math::libPARI.3.gz
 %%SITE_ARCH%%/Math/Pari.pm
 %%SITE_ARCH%%/Math/PariInit.pm
+%%PERL5_MAN3%%/Math::libPARI.dumb.3.gz
+%%SITE_ARCH%%/Math/libPARI.dumb.pod
 %%SITE_ARCH%%/Math/libPARI.pod
 %%SITE_ARCH%%/auto/Math/Pari/libpari-gmp.so.2
 %%SITE_ARCH%%/auto/Math/Pari/libpari-gmp.so.2.3.5