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

Modified Files:
        variable-magic-pm.info 
Added Files:
        variable-magic-pm.patch 
Log Message:
new version Variable::Magic


Index: variable-magic-pm.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/libs/perlmods/variable-magic-pm.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- variable-magic-pm.info      30 Jun 2012 20:42:19 -0000      1.2
+++ variable-magic-pm.info      6 Jul 2012 04:35:19 -0000       1.3
@@ -1,6 +1,6 @@
 Info3: <<
 Package: variable-magic-pm%type_pkg[perl]
-Version: 0.42
+Version: 0.50
 Revision: 1
 Architecture: (%type_pkg[perl] = 581) powerpc, (%type_pkg[perl] = 584) powerpc
 Distribution: (%type_pkg[perl] = 581) 10.4, (%type_pkg[perl] = 584) 10.4, 
(%type_pkg[perl] = 586) 10.4, (%type_pkg[perl] = 586) 10.5, (%type_pkg[perl] = 
5100) 10.5, (%type_pkg[perl] = 5100) 10.6, (%type_pkg[perl] = 5123) 10.7, 
(%type_pkg[perl] = 588) 10.4, (%type_pkg[perl] = 588) 10.5, (%type_pkg[perl] = 
588) 10.6, (%type_pkg[perl] = 5123) 10.8, (%type_pkg[perl] = 5124) 10.7, 
(%type_pkg[perl] = 5124) 10.8
@@ -19,10 +19,18 @@
 <<
 
 Source: mirror:cpan:modules/by-module/Variable/Variable-Magic-%v.tar.gz
-Source-MD5: 503c75e461e84de9f11c3735672abdd6
+Source-MD5: 626e16b019fc7904b760dd3c5b08d700
+PatchFile: %{ni}.patch
+PatchFile-MD5: 60ce8f5412df76008d5b52b4800aeb8c
 
 UseMaxBuildJobs: true
 
+InfoTest: <<
+       TestDepends: <<
+               capture-tiny-pm%type_pkg[perl]
+       <<
+<<
+
 UpdatePOD: true
 InstallScript: <<
 %{default_script}

--- NEW FILE: variable-magic-pm.patch ---
diff -Nurd -x'*~' Variable-Magic-0.50.orig/t/17-ctl.t 
Variable-Magic-0.50/t/17-ctl.t
--- Variable-Magic-0.50.orig/t/17-ctl.t 2012-06-24 18:48:51.000000000 -0400
+++ Variable-Magic-0.50/t/17-ctl.t      2012-07-06 00:32:18.000000000 -0400
@@ -2,6 +2,7 @@
 
 use strict;
 use warnings;
+use Config;
 
 use Test::More tests => 4 * 8 + 10 + 1 + 1;
 
@@ -221,7 +222,22 @@
  $ENV{SystemRoot} = $SystemRoot if $^O eq 'MSWin32' and defined $SystemRoot;
  $ENV{PATH}       = $PATH       if $^O eq 'cygwin'  and defined $PATH;
 
- system { $^X } $^X, '-T', map("-I$_", @INC), '-e', $code;
+ 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
+     }
+ }
+ push @command, $^X;
+ system { $command[0] } @command, '-T', map("-I$_", @INC), '-e', $code;
 }
 
 my $has_capture_tiny = do {


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to