[92352] trunk/dports/perl/p5-math-pari
ryandesign at macports.org
ryandesign at macports.org
Wed Apr 25 17:35:12 PDT 2012
Revision: 92352
https://trac.macports.org/changeset/92352
Author: ryandesign at macports.org
Date: 2012-04-25 17:35:11 -0700 (Wed, 25 Apr 2012)
Log Message:
-----------
p5-math-pari: update to 2.01080605; add pari-2.1.7.tgz as a distfile so it doesn't download a copy of it at configure time
Modified Paths:
--------------
trunk/dports/perl/p5-math-pari/Portfile
trunk/dports/perl/p5-math-pari/files/patch-MANIFEST.diff
trunk/dports/perl/p5-math-pari/files/patch-utils-Math-PariBuild.pm.diff
Modified: trunk/dports/perl/p5-math-pari/Portfile
===================================================================
--- trunk/dports/perl/p5-math-pari/Portfile 2012-04-25 23:30:53 UTC (rev 92351)
+++ trunk/dports/perl/p5-math-pari/Portfile 2012-04-26 00:35:11 UTC (rev 92352)
@@ -4,8 +4,7 @@
PortSystem 1.0
PortGroup perl5 1.0
-perl5.setup Math-Pari 2.01080604
-revision 2
+perl5.setup Math-Pari 2.01080605
license {Artistic-1 GPL}
maintainers nomaintainer
description perl interface to pari.
@@ -13,15 +12,36 @@
platforms darwin
-checksums md5 27f5999671fe2a29cfd2e8c8a1f9308e \
- sha1 547474a4ba2c2bb0ca89d34e85ad1e58f2b64873 \
- rmd160 05a9ea99adf21a1011c37d0fd4e5caa58b981150
+master_sites-append http://pari.math.u-bordeaux.fr/pub/pari/unix/OLD/:pari
+
+dist_subdir pari
+# 2.1.7, though old, is the newest version of pari
+# supported by p5-math-pari 2.01080*, according to the README.
+set pari_version 2.1.7
+set pari_distfile pari-${pari_version}.tgz
+
+# Let the p5-math-pari configure process extract and patch the pari distfile.
+set p5_distfile ${distfiles}
+extract.only ${p5_distfile}
+
+checksums ${p5_distfile} \
+ rmd160 2cc1e02f9666873999379f8130262da68a8801b9 \
+ sha256 eed553dc838973566c23b77cc30c9130802ba502e6a33969e25183bc5831ca46 \
+ ${pari_distfile} \
+ rmd160 6d7ca649cdd457d96c12e1f9333143d496a78b7e \
+ sha256 9142f2cdaf3083c8962f1a5c2bb0e9fe8915f7d9490c03312ac2361c7ea155fa
+
if {${perl5.major} != ""} {
+ distfiles-append ${pari_distfile}:pari
+
post-patch {
file copy ${filespath}/patch-pari-2_1_7-src-kernel-ix86-level0.h.diff ${worksrcpath}/patches/
}
+ # The configure process will extract *and patch* this distfile.
+ configure.args-append pari_tgz=${distpath}/${pari_distfile}
+
platform darwin 9 i386 {
patchfiles-append \
patch-libPARI-Makefile.PL.diff \
Modified: trunk/dports/perl/p5-math-pari/files/patch-MANIFEST.diff
===================================================================
--- trunk/dports/perl/p5-math-pari/files/patch-MANIFEST.diff 2012-04-25 23:30:53 UTC (rev 92351)
+++ trunk/dports/perl/p5-math-pari/files/patch-MANIFEST.diff 2012-04-26 00:35:11 UTC (rev 92352)
@@ -1,9 +1,9 @@
---- MANIFEST.orig 2010-03-03 13:14:40.000000000 -0800
-+++ MANIFEST 2010-07-12 19:23:00.000000000 -0700
-@@ -26,6 +26,7 @@
- patches/diff_2.1.7_div
+--- MANIFEST.orig 2010-03-06 17:25:52.000000000 -0600
++++ MANIFEST 2012-04-21 12:14:48.000000000 -0500
+@@ -27,6 +27,7 @@
patches/diff_2.1.6_align_power_of_2
patches/diff_2.1.7_mingw-w64
+ patches/diff_2.3.5_mingw-w64
+patches/patch-pari-2-1-7_src_kernel_ix86_level0.h.diff
t/000_load-problem.t
t/00_Pari.t
Modified: trunk/dports/perl/p5-math-pari/files/patch-utils-Math-PariBuild.pm.diff
===================================================================
--- trunk/dports/perl/p5-math-pari/files/patch-utils-Math-PariBuild.pm.diff 2012-04-25 23:30:53 UTC (rev 92351)
+++ trunk/dports/perl/p5-math-pari/files/patch-utils-Math-PariBuild.pm.diff 2012-04-26 00:35:11 UTC (rev 92352)
@@ -1,14 +1,14 @@
---- utils/Math/PariBuild.pm.orig 2010-07-12 19:38:13.000000000 -0700
-+++ utils/Math/PariBuild.pm 2010-07-12 19:37:54.000000000 -0700
+--- utils/Math/PariBuild.pm.orig 2010-03-06 17:26:46.000000000 -0600
++++ utils/Math/PariBuild.pm 2012-04-21 12:13:31.000000000 -0500
@@ -486,6 +486,7 @@
'patches/diff_2.1.7_-O',
'patches/diff_2.1.7_div',
'patches/diff_2.1.6_align_power_of_2',
+ 'patches/patch-pari-2-1-7_src_kernel_ix86_level0.h.diff',
'patches/diff_2.1.7_restart'],
- );
- print "Looking for patches for $v...\n";
-@@ -1317,7 +1318,7 @@
+ '2.3.5' => [
+ ($^O eq 'MSWin32' ? 'patches/diff_2.3.5_mingw-w64' : ())],
+@@ -1319,7 +1320,7 @@
sub extra_includes {
my $pari_dir = shift;
# Some #include directives assume us inside $pari_dir/OARCH; replace by src
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120425/03e72e3d/attachment.html>
More information about the macports-changes
mailing list