Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/libs/perlmods
In directory vz-cvs-3.sog:/tmp/cvs-serv22167

Added Files:
        capture-tiny-pm.info capture-tiny-pm.patch 
Log Message:
sync. w/ 10.!4/stable, validated on powerpc-darwin8


--- NEW FILE: capture-tiny-pm.info ---
Info2: <<
Package: capture-tiny-pm%type_pkg[perl]
Version: 0.11
Revision: 1
Distribution: (%type_pkg[perl] = 586) 10.5
Source: mirror:cpan:authors/id/D/DA/DAGOLDEN/Capture-Tiny-%v.tar.gz
Source-MD5: afbd9be69e4691ba8316545d216abdc8
Type: perl (5.8.6 5.8.8 5.10.0)
BuildDepends: <<
        extutils-makemaker-pm%type_pkg[perl] (>= 6.31-1),
        fink (>= 0.24.12),
        test-simple-pm%type_pkg[perl]
<<
Depends: <<
        perl%type_pkg[perl]-core
<<
PatchFile: %{ni}.patch
PatchFile-MD5: fb837f0e3c9935650f58435152561633
InfoTest: <<
        TestDepends: <<
                test-script-pm (>= 1.05-1)
        <<
<<
InstallScript: <<
        %{default_script}
        mv %i/share/man %i/lib/perl5/%type_raw[perl]
<<
UpdatePOD: True
DocFiles: Changes LICENSE README Todo
Description: Capture STDOUT and STDERR output streams
License: BSD
Homepage: http://search.cpan.org/dist/Capture-Tiny/
Maintainer: Daniel Macks <dma...@netspace.org>
<<

--- NEW FILE: capture-tiny-pm.patch ---
diff -Nurd -x'*~' Capture-Tiny-0.10.orig/t/00-compile.t 
Capture-Tiny-0.10/t/00-compile.t
--- Capture-Tiny-0.10.orig/t/00-compile.t       2011-02-07 07:01:49.000000000 
-0500
+++ Capture-Tiny-0.10/t/00-compile.t    2011-04-10 10:36:23.000000000 -0400
@@ -18,6 +18,7 @@
 
 use File::Find;
 use File::Temp qw{ tempdir };
+use Config;
 
 my @modules;
 find(
@@ -42,7 +43,21 @@
     # fake home for cpan-testers
      local $ENV{HOME} = tempdir( CLEANUP => 1 );
 
-    like( qx{ $^X -Ilib -e "require $_; print '$_ ok'" }, qr/^\s*$_ ok/s, "$_ 
loaded ok" )
+    my @command;
+    if ($] >= 5.010 && $Config{"byteorder"} =~ /^1/) {
+        # little-endian means intel (not powerpc), for which fink has
+        # multiple single-arch distros that are seen by a single (fat)
+        # perl interp from apple for a perl version supported by fink
+        # (i.e., starting with 5.10.0). This is the logic taken from
+        # Fink::PkgVersion as of fink-0.29.13.
+        push @command, '/usr/bin/arch';
+        if ( $Config{"longsize"} == 4 ) {
+            push @command, '-i386';   # 32-bit
+        } else {
+            push @command, '-x86_64'; # 64-bit
+        }
+    }
+    like( qx{ @command $^X -Ilib -e "require $_; print '$_ ok'" }, qr/^\s*$_ 
ok/s, "$_ loaded ok" )
         for sort @modules;
 
     SKIP: {


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to