Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/libs/perlmods
In directory 
sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv17269/10.7/main/finkinfo/libs/perlmods

Modified Files:
        perl-critic-lax-pm.info 
Added Files:
        perl-critic-lax-pm.patch 
Log Message:
new version


--- NEW FILE: perl-critic-lax-pm.patch ---
diff -Nurd -x'*~' Perl-Critic-Lax-0.009.orig/t/00-compile.t 
Perl-Critic-Lax-0.009/t/00-compile.t
--- Perl-Critic-Lax-0.009.orig/t/00-compile.t   2012-09-11 10:55:37.000000000 
-0400
+++ Perl-Critic-Lax-0.009/t/00-compile.t        2013-05-22 02:25:12.000000000 
-0400
@@ -9,6 +9,7 @@
 
 use File::Find;
 use File::Temp qw{ tempdir };
+use Config;
 
 my @modules;
 find(
@@ -58,7 +59,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: {

Index: perl-critic-lax-pm.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.7/stable/main/finkinfo/libs/perlmods/perl-critic-lax-pm.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- perl-critic-lax-pm.info     16 Dec 2012 01:36:52 -0000      1.2
+++ perl-critic-lax-pm.info     22 May 2013 06:28:10 -0000      1.3
@@ -1,14 +1,20 @@
 Info2: <<
 Package: perl-critic-lax-pm%type_pkg[perl]
-Version: 0.008
+Version: 0.009
 Revision: 1
 Type: perl (5.12.3 5.12.4)
+BuildDepends: <<
+       test-simple-pm%type_pkg[perl] (>= 0.96),
+       extutils-makemaker-pm%type_pkg[perl] (>= 6.30)
+<<
 Depends: <<
        perl%type_pkg[perl]-core,
        perl-critic-pm%type_pkg[perl]
 <<
 Source: mirror:cpan:authors/id/R/RJ/RJBS/Perl-Critic-Lax-%v.tar.gz
-Source-MD5: 976c7526bc2d906f7c91d6eb0e07ecb4
+Source-MD5: 2b6e3cd6fb21f0a710980844d96d036e
+PatchFile: %{ni}.patch
+PatchFile-MD5: 1d888125832f70630e582635ccd64643
 InstallScript: <<
        %{default_script}
        mv %i/share/man %i/lib/perl5/%type_raw[perl]


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to