[138627] trunk/dports/perl

devans at macports.org devans at macports.org
Mon Jul 13 22:12:29 PDT 2015


Revision: 138627
          https://trac.macports.org/changeset/138627
Author:   devans at macports.org
Date:     2015-07-13 22:12:29 -0700 (Mon, 13 Jul 2015)
Log Message:
-----------
p5-math-gmpz: perl interface to the GMP library's integer (mpz) functions.

Added Paths:
-----------
    trunk/dports/perl/p5-math-gmpz/
    trunk/dports/perl/p5-math-gmpz/Portfile
    trunk/dports/perl/p5-math-gmpz/files/
    trunk/dports/perl/p5-math-gmpz/files/patch-Makefile.PL.diff

Added: trunk/dports/perl/p5-math-gmpz/Portfile
===================================================================
--- trunk/dports/perl/p5-math-gmpz/Portfile	                        (rev 0)
+++ trunk/dports/perl/p5-math-gmpz/Portfile	2015-07-14 05:12:29 UTC (rev 138627)
@@ -0,0 +1,24 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+PortGroup           perl5 1.0
+
+perl5.branches      5.16 5.18 5.20 5.22
+perl5.setup         Math-GMPz 0.40
+license             {Artistic-1 GPL}
+maintainers         devans openmaintainer
+description         Math::GMPz - perl interface to the GMP library's integer (mpz) functions.
+long_description    ${description}
+
+platforms           darwin
+
+checksums           rmd160  dd0d0b42ddad8c262a49092234b2dc7e4e044109 \
+                    sha256  856688c085f0888cf150b38fedd5232dac72eca16ea45ee1f79b6ae5ae36e4d9
+
+if {${perl5.major} != ""} {
+    depends_lib-append \
+                    port:gmp
+
+    patchfiles      patch-Makefile.PL.diff
+}


Property changes on: trunk/dports/perl/p5-math-gmpz/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/perl/p5-math-gmpz/files/patch-Makefile.PL.diff
===================================================================
--- trunk/dports/perl/p5-math-gmpz/files/patch-Makefile.PL.diff	                        (rev 0)
+++ trunk/dports/perl/p5-math-gmpz/files/patch-Makefile.PL.diff	2015-07-14 05:12:29 UTC (rev 138627)
@@ -0,0 +1,11 @@
+--- Makefile.PL.orig	2015-07-11 16:15:07.000000000 -0700
++++ Makefile.PL	2015-07-11 16:17:38.000000000 -0700
+@@ -24,7 +24,7 @@
+ if($use_64_bit_int == -1) {}
+ elsif($use_64_bit_int == 1) {$defines .= " -DMATH_GMPZ_NEED_LONG_LONG_INT"}
+ else {
+-  unless($Config::Config{ivsize} < 8 || $Config{ivtype} eq 'long') {
++  unless($Config::Config{ivsize} < 8) {
+     $defines .= " -DMATH_GMPZ_NEED_LONG_LONG_INT";
+   }
+ }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150713/f25bf930/attachment.html>


More information about the macports-changes mailing list