[136944] trunk/dports/perl/p5-pdl-stats

devans at macports.org devans at macports.org
Sat May 30 18:47:04 PDT 2015


Revision: 136944
          https://trac.macports.org/changeset/136944
Author:   devans at macports.org
Date:     2015-05-30 18:47:04 -0700 (Sat, 30 May 2015)
Log Message:
-----------
p5-pdl-stats: update description, increment revision to rebuild due to changes in the internal, C-level PDL API introduced in PDL 2.008, patch to fix build.

Modified Paths:
--------------
    trunk/dports/perl/p5-pdl-stats/Portfile

Added Paths:
-----------
    trunk/dports/perl/p5-pdl-stats/files/
    trunk/dports/perl/p5-pdl-stats/files/patch-GLM-glm.pp.diff

Modified: trunk/dports/perl/p5-pdl-stats/Portfile
===================================================================
--- trunk/dports/perl/p5-pdl-stats/Portfile	2015-05-31 01:45:13 UTC (rev 136943)
+++ trunk/dports/perl/p5-pdl-stats/Portfile	2015-05-31 01:47:04 UTC (rev 136944)
@@ -6,19 +6,22 @@
 
 perl5.branches      5.16 5.18 5.20
 perl5.setup         PDL-Stats 0.6.5
+revision            1
 
 platforms           darwin
 maintainers         nomaintainer
 license             {Artistic-1 GPL}
 
-supported_archs     noarch
-
-description         statistics modules with non-PDL user guide
+description         PDL::Stats - a collection of statistics modules in Perl Data Language, \
+                    with a quick-start guide for non-PDL people.
 long_description    ${description}
 
 checksums           rmd160  affd279f2de37270cd49fe417f2ab9d302575191 \
                     sha256  6051cc714b562e98383bd57449eca03bbf63e9f4070ee624cf8a0246cc2b47d1
 
 if {${perl5.major} != ""} {
-depends_lib-append  port:p${perl5.major}-pdl
+    depends_lib-append \
+                    port:p${perl5.major}-pdl
+
+    patchfiles      patch-GLM-glm.pp.diff
 }

Added: trunk/dports/perl/p5-pdl-stats/files/patch-GLM-glm.pp.diff
===================================================================
--- trunk/dports/perl/p5-pdl-stats/files/patch-GLM-glm.pp.diff	                        (rev 0)
+++ trunk/dports/perl/p5-pdl-stats/files/patch-GLM-glm.pp.diff	2015-05-31 01:47:04 UTC (rev 136944)
@@ -0,0 +1,26 @@
+--- GLM/glm.pp.orig	2015-05-30 17:58:11.000000000 -0700
++++ GLM/glm.pp	2015-05-30 17:58:40.000000000 -0700
+@@ -100,9 +100,9 @@
+     %}
+   ',
+   CopyBadStatusCode => '
+-    /* propogate badflag if inplace AND it has changed */
++    /* propagate badflag if inplace AND it has changed */
+     if ( a == b && $ISPDLSTATEBAD(a) )
+-      PDL->propogate_badflag( b, 0 );
++      PDL->propagate_badflag( b, 0 );
+ 
+     /* always make sure the output is "good" */
+     $SETPDLSTATEGOOD(b);
+@@ -167,9 +167,9 @@
+     %}
+   ',
+   CopyBadStatusCode => '
+-    /* propogate badflag if inplace AND it has changed */
++    /* propagate badflag if inplace AND it has changed */
+     if ( a == b && $ISPDLSTATEBAD(a) )
+-      PDL->propogate_badflag( b, 0 );
++      PDL->propagate_badflag( b, 0 );
+ 
+     /* always make sure the output is "good" */
+     $SETPDLSTATEGOOD(b);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150530/f45f9153/attachment.html>


More information about the macports-changes mailing list