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

Added Files:
        test-poe-server-tcp-pm.info test-poe-server-tcp-pm.patch 
Log Message:
new package


--- NEW FILE: test-poe-server-tcp-pm.info ---
Info2: <<
Package: test-poe-server-tcp-pm%type_pkg[perl]
Version: 1.16
Revision: 1
Type: perl (5.8.8 5.10.0)

Description: TCP server services for test cases
License: Artistic/GPL
Maintainer: Daniel Macks <dma...@netspace.org>
Homepage: http://search.cpan.org/dist/Test-POE-Server-TCP/

BuildDepends: <<
        fink (>= 0.24.12)
<<
Depends: <<
        perl%type_pkg[perl]-core,
        poe-pm%type_pkg[perl]
<<
Source: mirror:cpan:authors/id/B/BI/BINGOS/Test-POE-Server-TCP-%v.tar.gz
Source-MD5: ac6b0c3d4609583e56b7ec21e428eb64
PatchFile: %{ni}.patch
PatchFile-MD5: 2ce681943df197d69d981a4b05e0df26

UpdatePOD: true
DocFiles: Changes LICENSE README

InstallScript: <<
        %{default_script}
        mv %i/share/man %i/lib/perl5/%type_raw[perl]
<<
<<

--- NEW FILE: test-poe-server-tcp-pm.patch ---
diff -Nurd -x'*~' Test-POE-Server-TCP-1.16.orig/t/00-compile.t 
Test-POE-Server-TCP-1.16/t/00-compile.t
--- Test-POE-Server-TCP-1.16.orig/t/00-compile.t        2011-06-29 
05:04:18.000000000 -0400
+++ Test-POE-Server-TCP-1.16/t/00-compile.t     2011-09-08 13:46:49.000000000 
-0400
@@ -9,6 +9,7 @@
 
 use File::Find;
 use File::Temp qw{ tempdir };
+use Config;
 
 my @modules;
 find(
@@ -44,7 +45,21 @@
     # fake home for cpan-testers
     # no fake requested ## 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: {


------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to