Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/perlmods In directory vz-cvs-3.sog:/tmp/cvs-serv30427
Modified Files: devel-checkos-pm.info Added Files: devel-checkos-pm.patch Log Message: new version Index: devel-checkos-pm.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/perlmods/devel-checkos-pm.info,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- devel-checkos-pm.info 21 Jul 2011 21:28:59 -0000 1.6 +++ devel-checkos-pm.info 29 Aug 2011 07:00:42 -0000 1.7 @@ -1,14 +1,15 @@ Info2: << Package: devel-checkos-pm%type_pkg[perl] -Version: 1.63 -Revision: 2 +Version: 1.64 +Revision: 1 Distribution: (%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: perl (5.8.6 5.8.8 5.10.0 5.12.3) Source: mirror:cpan:authors/id/D/DC/DCANTRELL/Devel-CheckOS-%v.tar.gz -Source-MD5: c6a555cb7c289b70642e7b573d9acdee +Source-MD5: 458d93207c4feaf2fbdcb14962be82e4 BuildDepends: << + fink (>= 0.24.12), test-simple-pm%type_pkg[perl] (>= 0.62-1) << Depends: << @@ -17,6 +18,8 @@ perl%type_pkg[perl]-core << +PatchFile: %{ni}.patch +PatchFile-MD5: 993be36bc179a3762f3f7e4b9546b4a1 InstallScript: << %{default_script} mv %i/share/man %i/lib/perl5/%type_raw[perl] --- NEW FILE: devel-checkos-pm.patch --- diff -Nurd -x'*~' Devel-CheckOS-1.64.orig/t/50-script.t Devel-CheckOS-1.64/t/50-script.t --- Devel-CheckOS-1.64.orig/t/50-script.t 2010-05-29 13:44:41.000000000 -0400 +++ Devel-CheckOS-1.64/t/50-script.t 2011-08-29 02:58:23.000000000 -0400 @@ -6,8 +6,24 @@ use File::Spec; use Devel::CheckOS; use Cwd; +use Config; my $cwd = getcwd(); +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; emptydir(); MakefilePLexists(); @@ -21,7 +37,7 @@ my $projectdir = File::Temp->newdir(); chdir($projectdir); my $cmd = join(' ', map { qq{"$_"} } ( - $^X, (map { "-I$_" } @INC), $cwd.'/bin/use-devel-assertos', '-l' + @command, (map { "-I$_" } @INC), $cwd.'/bin/use-devel-assertos', '-l' )); $cmd = `$cmd`; chomp($cmd); @@ -218,6 +234,6 @@ sub _writefile { open(my $fh, '>', shift()) || return ''; print $fh @_; } sub _run_script { chdir(shift()); - system($^X, (map { "-I$_" } @INC), $cwd.'/bin/use-devel-assertos', '-q', @_); + system(@command, (map { "-I$_" } @INC), $cwd.'/bin/use-devel-assertos', '-q', @_); chdir($cwd); } ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs