[123742] trunk/dports/perl
mf2k at macports.org
mf2k at macports.org
Wed Aug 13 14:26:38 PDT 2014
Revision: 123742
https://trac.macports.org/changeset/123742
Author: mf2k at macports.org
Date: 2014-08-13 14:26:38 -0700 (Wed, 13 Aug 2014)
Log Message:
-----------
p5-perlio-util: New port. (#42618)
Added Paths:
-----------
trunk/dports/perl/p5-perlio-util/
trunk/dports/perl/p5-perlio-util/Portfile
trunk/dports/perl/p5-perlio-util/files/
trunk/dports/perl/p5-perlio-util/files/patch-t-06_tee.t.diff
Added: trunk/dports/perl/p5-perlio-util/Portfile
===================================================================
--- trunk/dports/perl/p5-perlio-util/Portfile (rev 0)
+++ trunk/dports/perl/p5-perlio-util/Portfile 2014-08-13 21:26:38 UTC (rev 123742)
@@ -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.8 5.10 5.12 5.14 5.16 5.18 5.20
+perl5.setup PerlIO-Util 0.72
+maintainers nomaintainer
+license {GPL Artistic-1}
+platforms darwin
+supported_archs noarch
+
+description A selection of general PerlIO utilities
+long_description A selection of general PerlIO utilities : creat, \
+ dir, excl, flock, reverse (reads lines backward), \
+ tee.
+
+checksums rmd160 20ac41ff93701d970321cfe2c26aaf18a59da734 \
+ sha256 972ce0dd4d3b16b5422158f5f596d789851f9664ee931bc558285eb47908ab45
+
+if {${perl5.major} != ""} {
+ patchfiles patch-t-06_tee.t.diff
+}
Property changes on: trunk/dports/perl/p5-perlio-util/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/perl/p5-perlio-util/files/patch-t-06_tee.t.diff
===================================================================
--- trunk/dports/perl/p5-perlio-util/files/patch-t-06_tee.t.diff (rev 0)
+++ trunk/dports/perl/p5-perlio-util/files/patch-t-06_tee.t.diff 2014-08-13 21:26:38 UTC (rev 123742)
@@ -0,0 +1,21 @@
+--- t/06_tee.t.orig 2011-05-25 16:04:41.000000000 +0200
++++ t/06_tee.t 2014-02-25 15:19:25.000000000 +0100
+@@ -28,7 +28,8 @@
+
+ ok close($tee), "close";
+
+-is_deeply [ map{ Internals::SvREFCNT($_) } $x, $y, $z ], [1, 1, 1], "(refcnt aftere closed)";
++BEGIN{*rc = *Internals::SvREFCNT;}
++is_deeply [ rc($x), rc($y), rc($z) ], [1, 1, 1], "(refcnt after closed)";
+
+ open $tee, ">:scalar", \$x;
+
+@@ -46,7 +47,7 @@
+
+ ok close($tee), "close";
+
+-is_deeply [ map{ Internals::SvREFCNT($_) } $x, $y, $z ], [1, 1, 1], "(refcnt aftere closed)";
++is_deeply [ rc($x), rc($y), rc($z) ], [1, 1, 1], "(refcnt after closed)";
+
+ # push filehandle
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140813/53b4f1ab/attachment.html>
More information about the macports-changes
mailing list