Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/libs/perlmods In directory vz-cvs-3.sog:/tmp/cvs-serv7816/stable/main/finkinfo/libs/perlmods
Added Files: app-cpanoutdated-pm.info class-accessor-grouped-pm.info cpan-pm.info cpan-pm.patch extutils-cbuilder-pm.info extutils-cbuilder-pm.patch file-homedir-pm.info libwww-pm-5.837.info local-lib-pm.info local-lib-pm.patch mac-systemdirectory-pm.info Log Message: sync a bunch of cpan -pmXXX handlers and their deps --- NEW FILE: local-lib-pm.info --- Info2: << Package: local-lib-pm%type_pkg[perl] Version: 1.008004 Revision: 1 Source: mirror:cpan:authors/id/A/AP/APEIRON/local-lib-%v.tar.gz Source-MD5: 6244fa9d77e818594acbaf572aece326 Type: perl (5.8.8 5.10.0) BuildDepends: << fink (>= 0.24.12) << Depends: << cpan-pm%type_pkg[perl] (>= 1.82-1), extutils-cbuilder-pm%type_pkg[perl] (>= 1:0.27.03-2), extutils-install-pm (>= 1.43-1), extutils-makemaker-pm%type_pkg[perl] (>= 6.31-1), extutils-parsexs-pm, module-build-pm%type_pkg[perl] (>= 0.36-1), perl%type_pkg[perl]-core << PatchFile: %{ni}.patch PatchFile-MD5: 63f4226002d08ce077ea579a20369f32 PatchScript: << %{default_script} perl -0 -pe's/^.*=head\d\s+(Support.*)$/$1/is' lib/local/lib.pm > README << InfoTest: << TestDepends: << capture-tiny-pm%type_pkg[perl] << << InstallScript: << %{default_script} mv %i/share/man %i/lib/perl5/%type_raw[perl] << UpdatePOD: True DocFiles: Changes README DescPackaging: << Nuke a ton of stuff from Makefile.PL that is inappropriate for a packaging-system-driven build. << DescPort: << Hack test suite to enforce correct single-arch from fat perl interp for spawned perl script (see test-harness-pmXXX). << Description: Manage private collection of libs vs global License: Artistic/GPL Homepage: http://search.cpan.org/dist/local-lib/ Maintainer: Daniel Macks <dma...@netspace.org> << --- NEW FILE: cpan-pm.patch --- diff -Nurd -x'*~' CPAN-1.9800.orig/t/00signature.t CPAN-1.9800/t/00signature.t --- CPAN-1.9800.orig/t/00signature.t 2011-03-12 05:18:21.000000000 -0500 +++ CPAN-1.9800/t/00signature.t 2011-08-31 12:53:22.000000000 -0400 @@ -69,7 +69,7 @@ print "ok 1 # Valid signature\n"; } else { - print "1..0 # SKIP verify failed, so only collect diagnostics\n"; + print "1..0 # SKIP verify failed, so only collect diagnostics (expected for fink because test incompatible with local patches)\n"; } # Local Variables: diff -Nurd -x'*~' CPAN-1.9800.orig/t/04clean_load.t CPAN-1.9800/t/04clean_load.t --- CPAN-1.9800.orig/t/04clean_load.t 2011-01-21 01:57:48.000000000 -0500 +++ CPAN-1.9800/t/04clean_load.t 2011-08-31 12:53:22.000000000 -0400 @@ -2,6 +2,7 @@ use strict; eval 'use warnings'; +use Config; my %has_deps = ( 'blib/lib/CPAN/HTTP/Client.pm' => { @@ -17,7 +18,21 @@ plan(tests => scalar @modules); foreach my $file (@modules) { #diag $file; - system("$^X -c $file >out 2>err"); + 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 + } + } + system("@command $^X -c $file >out 2>err"); my $fail; if (open ERR, '<err') { my $stderr = join('', <ERR>); diff -Nurd -x'*~' CPAN-1.9800.orig/t/30shell.t CPAN-1.9800/t/30shell.t --- CPAN-1.9800.orig/t/30shell.t 2011-01-16 10:23:40.000000000 -0500 +++ CPAN-1.9800/t/30shell.t 2011-08-31 12:53:22.000000000 -0400 @@ -72,7 +72,9 @@ { local *FH; open *FH, (">"._f"t/dot-cpan/build/Something-From-Builddir-0.00.yml") or die; - my @stat = stat $^X; + my $interp = `which $^X`; # $^X might be found in PATH not rel/abs path + chomp $interp; + my @stat = stat $interp; my $dll = eval {OS2::DLLname()}; my $mtime_dll = 0; if (defined $dll) { diff -Nurd -x'*~' CPAN-1.9800.orig/t/70_critic.t CPAN-1.9800/t/70_critic.t --- CPAN-1.9800.orig/t/70_critic.t 2011-01-09 14:39:38.000000000 -0500 +++ CPAN-1.9800/t/70_critic.t 2011-09-15 13:54:13.000000000 -0400 @@ -3,6 +3,11 @@ use File::Spec; use Test::More; +unless ($ENV{AUTHOR_TEST}) { + my $msg = 'Test::Perl::Critic only run when AUTHOR_TEST set'; + plan( skip_all => $msg ); +} + eval { require Test::Perl::Critic; }; if ( $@ ) { @@ -10,11 +15,6 @@ plan( skip_all => $msg ); } -unless ($ENV{AUTHOR_TEST}) { - my $msg = 'Test::Perl::Critic only run when AUTHOR_TEST set'; - plan( skip_all => $msg ); -} - my $rcfile = File::Spec->catfile( 't', 'perlcriticrc' ); Test::Perl::Critic->import( -profile => $rcfile ); all_critic_ok(); diff -Nurd -x'*~' CPAN-1.9800.orig/t/local_utils.pm CPAN-1.9800/t/local_utils.pm --- CPAN-1.9800.orig/t/local_utils.pm 2011-01-09 14:39:39.000000000 -0500 +++ CPAN-1.9800/t/local_utils.pm 2011-08-31 12:54:05.000000000 -0400 @@ -78,8 +78,22 @@ sub run_shell_cmd_lit ($) { my $cwd = shift; my $t = File::Spec->catfile($cwd,"t"); + 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 + } + } my @system = ( - $^X, + @command, $^X, "-I$t", # get this test's own MyConfig "-Mblib", "-MCPAN::MyConfig", --- NEW FILE: cpan-pm.info --- Info2: << Package: cpan-pm%type_pkg[perl] Version: 1.98.00 Revision: 2 Distribution: (%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.8 5.10.0 5.12.3) Description: Perl module to access perl modules on CPAN License: Artistic/GPL Maintainer: Christian Schaffner <chri...@users.sourceforge.net> # Dependencies: Depends: << cpan-meta-pm%type_pkg[perl], dpkg-base-files, file-homedir-pm%type_pkg[perl] (>= 0.69-1), libwww-pm%type_pkg[perl], module-signature-pm%type_pkg[perl], parse-cpan-meta-pm (>= 1.44.01-1), perl%type_pkg[perl]-core, test-harness-pm%type_pkg[perl] (>= 2.62-1), text-glob-pm << BuildDepends: << fink (>= 0.24.12), gnupg | gnupg-idea | gnupg-testing << Replaces: %N-doc, cpan-pm581-bin Conflicts: %N-doc, cpan-pm581-bin Suggests: << module-build-pm%type_pkg[perl] << # Unpack Phase: Source: mirror:cpan:authors/id/A/AN/ANDK/CPAN-1.9800.tar.gz Source-MD5: 94a1e6d622187d66bff7e2ce4812232e PatchFile: %{ni}.patch PatchFile-MD5: c615b95b7c3f8d582d3c594decca70de CompileScript: << %{default_script} << InfoTest: << TestDepends: << module-build-pm%type_pkg[perl] << << # Install Phase: UpdatePOD: True DocFiles: Changes README Todo InstallScript: << %{default_script} mv %i/share/man %i/lib/perl5/%type_raw[perl] mv %i/bin/cpan %i/bin/cpan-%type_raw[perl] << PostInstScript: << if [ "$1" = configure ]; then update-alternatives --install %p/bin/cpan cpan %p/bin/cpan-%type_raw[perl] %type_pkg[perl] fi << PreRmScript: << if [ "$1" = remove ]; then update-alternatives --remove cpan %p/bin/cpan-%type_raw[perl] fi << # Additional Info: DescUsage: << Note: Various versions of the CPAN module may prefer to have the main directory at ~/Library/Application Support/.cpan instead of the more unixish ~/.cpan location. The directory itself seems the same and can be via symlink in either direction. << DescPackaging: << The old cpan-pmXXX-bin packages are re-incorporated into the cpan-pmXXX packages as of 1.76-3/1.94.2-1. module-build-pm only used for building so not Depends for fink because we're a package-manager that gets confused when CPAN is used to install modules directly Has a ton of optional deps (not all of which are in fink), some (many?) of which have system() workarounds, or are only used rarely and/or give good diagnostics if not available when needed. Therefore not piling up Depends. Easy enough to add them if becomes popular and needed in the future. Patching files changes their SHA1; changing the SHA1s in SIGNATURE makes the gpg verification of that file fail (which cannot be fixed) so why bother? Fix detection of path to perl interp. See: https://rt.cpan.org/Public/Bug/Display.html?id=70645 Don't whine about missing module if the mode that would use it isn't active. See: https://rt.cpan.org/Public/Bug/Display.html?id=71028 << Homepage: http://search.cpan.org/dist/CPAN/ # End of Info2 << --- NEW FILE: extutils-cbuilder-pm.info --- Info2: << Package: extutils-cbuilder-pm%type_pkg[perl] Version: 0.28.02.02 Revision: 4 Epoch: 1 Distribution: (%type_pkg[perl] = 586) 10.5 Type: perl (5.8.6 5.8.8 5.10.0) Description: Compile and link C code for Perl modules License: Artistic/GPL Homepage: http://search.cpan.org/dist/ExtUtils-CBuilder/ Maintainer: Daniel Macks <dma...@netspace.org> BuildDepends: << extutils-makemaker-pm%type_pkg[perl] (>= 6.31-1), fink (>= 0.24.12) << Depends: << ipc-cmd-pm%type_pkg[perl], pathtools-pm%type_pkg[perl] (>= 3.13-1), perl%type_pkg[perl]-core << # Unpack Phase. Source: mirror:cpan:authors/id/D/DA/DAGOLDEN/ExtUtils-CBuilder-0.280202.tar.gz Source-MD5: c2b6aa8d22416574c0a3f658136a7958 PatchFile: %{ni}.patch PatchFile-MD5: 59c8337b70a4975d81356a9edefe15a5 # Install Phase. InstallScript: << %{default_script} /bin/mv %i/share/man %i/lib/perl5/%type_raw[perl] << UpdatePOD: true DocFiles: Changes README # Documentation. DescDetail: << This module can build the C portions of Perl modules by invoking the appropriate compilers and linkers in a cross-platform manner. It was motivated by the "Module::Build" project, but may be useful for other purposes as well. However, it is not intended as a general cross-platform interface to all your C building needs. That would have been a much more ambitious goal! << DescPackaging: << Former maintainer: Blair Zajac <bl...@orcaware.com> Hack determination of abs path to perl interp ($^X may rely on $PATH rather than relative to $PWD) Fink is completely single-arch but apple's perl is so fat it even propagates multiple -arch flags via its Config.pm. Well not to us it won't, by golly. << << --- NEW FILE: app-cpanoutdated-pm.info --- Info2: << Package: app-cpanoutdated-pm%type_pkg[perl] Version: 0.18 Revision: 1 Source: mirror:cpan:authors/id/T/TO/TOKUHIROM/App-cpanoutdated-%v.tar.gz Source-MD5: b9e78a62efe78399b4ad46120b065908 Type: perl (5.8.8 5.10.0) BuildDepends: << extutils-makemaker-pm%type_pkg[perl] (>= 6.56-1) << Depends: << cpan-distnameinfo-pm, dpkg-base-files, io-zlib-pm%type_pkg[perl], libwww-pm%type_pkg[perl], local-lib-pm%type_pkg[perl] (>= 1.006008-1), perl%type_pkg[perl]-core, version-pm%type_pkg[perl] << InstallScript: << %{default_script} mv %i/share/man %i/lib/perl5/%type_raw[perl] mv %i/bin/cpan-outdated %i/bin/cpan-outdated-%type_raw[perl] << PostInstScript: << if [ "$1" = configure ]; then update-alternatives --install %p/bin/cpan-outdated cpan-outdated %p/bin/cpan-outdated-%type_raw[perl] %type_pkg[perl] fi << PreRmScript: << if [ "$1" = remove ]; then update-alternatives --remove cpan-outdated %p/bin/cpan-outdated-%type_raw[perl] fi << UpdatePOD: True DocFiles: Changes README.md Description: Detect outdated CPAN modules on your system License: Artistic/GPL Homepage: http://search.cpan.org/dist/App-cpanoutdated/ Maintainer: Daniel Macks <dma...@netspace.org> << --- NEW FILE: extutils-cbuilder-pm.patch --- diff -Nurd -x'*~' ExtUtils-CBuilder-0.280202.orig/lib/ExtUtils/CBuilder/Base.pm ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder/Base.pm --- ExtUtils-CBuilder-0.280202.orig/lib/ExtUtils/CBuilder/Base.pm 2011-01-23 10:48:57.000000000 -0500 +++ ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder/Base.pm 2011-04-19 13:26:19.000000000 -0400 @@ -37,6 +37,7 @@ or warn "Warning: Can't locate your perl binary"; while (my ($k,$v) = each %Config) { + $v =~ s/-arch\s+\S+//g if defined $v; # fink does not support fat $self->{config}{$k} = $v unless exists $self->{config}{$k}; } $self->{config}{cc} = $ENV{CC} if defined $ENV{CC}; diff -Nurd -x'*~' ExtUtils-CBuilder-0.280202.orig/t/00-have-compiler.t ExtUtils-CBuilder-0.280202/t/00-have-compiler.t --- ExtUtils-CBuilder-0.280202.orig/t/00-have-compiler.t 2011-01-23 10:48:57.000000000 -0500 +++ ExtUtils-CBuilder-0.280202/t/00-have-compiler.t 2011-04-14 03:24:33.000000000 -0400 @@ -1,9 +1,24 @@ #! perl -w use File::Spec; +use Config; my $perl; BEGIN { - $perl = File::Spec->rel2abs($^X); + $perl = $^X; + 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. + if ( $Config{"longsize"} == 4 ) { + $perl = "/usr/bin/arch -i386 $^X"; # 32-bit + } else { + $perl = "/usr/bin/arch -x86_64 $^X"; # 64-bit + } + } elsif ($perl !~ /^\//) { + $perl = "/usr/bin/env $^X"; + } } use strict; --- NEW FILE: class-accessor-grouped-pm.info --- Info2: << Package: class-accessor-grouped-pm%type_pkg[perl] Version: 0.10003 Revision: 1 Distribution: (%type_pkg[perl] = 586) 10.5 ### BuildDepends: << test-exception-pm, test-simple-pm%type_pkg[perl] (>= 0.94-1) << Depends: << class-inspector-pm%type_pkg[perl], class-xsaccessor-pm%type_pkg[perl] (>= 1.11-1), mro-compat-pm%type_pkg[perl], perl%type_pkg[perl]-core, scalar-list-utils-pm%type_pkg[perl], sub-name-pm%type_pkg[perl] << ### Source: mirror:cpan:authors/id/F/FR/FREW/Class-Accessor-Grouped-%v.tar.gz Source-MD5: 8f81d32f3f51e6ce52038f9fbb62ac70 ### Type: perl (5.8.6 5.8.8 5.10.0) UpdatePOD: true ### PatchScript: << # disable inappropriate silliness for packaging environment # Module::Install::AutoInstall specifically says *not* to put # this in Makefile.PL! perl -pi -e 's/(auto_install)/#\1/'g Makefile.PL << InfoTest: << TestDepends: << devel-hide-pm << << InstallScript: << %{default_script} mv %i/share/man %i/lib/perl5/%type_raw[perl] << ### DocFiles: Changes README ### Description: Lets you build groups of accessors DescDetail: << This class lets you build groups of accessors that will call different getters and setters. << DescPackaging: << Former Maintainer: degraw <deg...@users.sourceforge.net> Have to avoid automatic use of interactive CPAN to resolve and install dependencies. << ### License: Artistic/GPL Maintainer: Daniel Macks <dma...@netspace.org> Homepage: http://search.cpan.org/dist/Class-Accessor-Grouped << --- NEW FILE: libwww-pm-5.837.info --- Info2: << Package: libwww-pm%type_pkg[perl] Version: 5.837 Revision: 3 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 ### Depends: << perl%type_pkg[perl]-core, compress-raw-zlib-pm%type_pkg[perl], crypt-ssleay-pm%type_pkg[perl], digest-md5-pm%type_pkg[perl], encode-pm%type_pkg[perl] (>= 2.40-1), html-parser-pm%type_pkg[perl] (>= 3.56-1), html-tagset-pm, io-compress-pm%type_pkg[perl], libnet-pm%type_pkg[perl], mime-base64-pm%type_pkg[perl], uri-pm%type_pkg[perl] (>= 1.37-1) << BuildDepends: fink (>= 0.29.0-1) Replaces: libwww-pm (<= 5.69-3), %N-man Conflicts: %N-man ### Source: mirror:cpan:authors/id/G/GA/GAAS/libwww-perl-%v.tar.gz Source-MD5: 9bbf1bce482b0bac98bb4f04253c03d0 ### # There is a bug in fink's perl packages which sets perlpath to %p/bin/perl # instead of %p/bin/perlx.y.z so the tests fail if perlxyz isn't installed # in addition to perlxyz-core. This patch works around the bug. PatchScript: << perl -pi -e 's/my \$perl =.*$/my \$perl="perl%type_raw[perl]";/g' t/local/http.t t/robot/ua-get.t t/robot/ua.t << Type: perl (5.8.1 5.8.4 5.8.6 5.8.8 5.10.0 5.12.3) UpdatePOD: true InfoTest: TestDepends: test-harness-pm%type_pkg[perl] (>= 3.22-1) ### DocFiles: AUTHORS Changes README* InstallScript: << #!/bin/bash -ev %{default_script} mkdir -p %i/lib/perl5/%type_raw[perl]/man mv %i/share/man/man3 %i/lib/perl5/%type_raw[perl]/man binfiles="lwp-download lwp-dump lwp-mirror lwp-request lwp-rget" for binfile in $binfiles ; do mv %i/bin/$binfile %i/bin/$binfile-pm%type_pkg[perl] mv %i/share/man/man1/${binfile}.1 %i/share/man/man1/$binfile-pm%type_pkg[perl].1 done << SplitOff2: << Package: %N-bin Depends: %N (>= %v-%r) Conflicts: %{Ni}581-bin (<< 5.825-1), %{Ni}584-bin (<< 5.825-1), %{Ni}586-bin (<< 5.825-1), %{Ni}588-bin (<< 5.825-1) Replaces: %{Ni}581-bin (<< 5.825-1), %{Ni}584-bin (<< 5.825-1), %{Ni}586-bin (<< 5.825-1), %{Ni}588-bin (<< 5.825-1) Files: bin share/man PostInstScript: << binfiles="lwp-download lwp-dump lwp-mirror lwp-request lwp-rget" for binfile in $binfiles ; do update-alternatives --install %p/bin/$binfile $binfile %p/bin/$binfile-pm%type_pkg[perl] %type_pkg[perl] --slave %p/share/man/man1/$binfile.1 $binfile.1 %p/share/man/man1/$binfile-pm%type_pkg[perl].1 done << PreRmScript: << if [ $1 != "upgrade" ]; then binfiles="lwp-download lwp-dump lwp-mirror lwp-request lwp-rget" for binfile in $binfiles ; do update-alternatives --remove $binfile %p/bin/$binfile-pm%type_pkg[perl] done fi << << ### Description: Perl modules, programming interface to WWW DescDetail: << The libwww-perl collection is a set of Perl modules which provides a simple and consistent application programming interface to the World-Wide Web. The main focus of the library is to provide classes and functions that allow you to write WWW clients. The library also contain modules that are of more general use and even classes that help you implement simple HTTP servers. << DescPackaging: << Earlier versions by Justin F. Hallett and Christian Schaffner. << ### License: Artistic Maintainer: Daniel Johnson <dan...@daniel-johnson.org> Homepage: http://search.cpan.org/dist/libwww-perl << --- NEW FILE: local-lib-pm.patch --- diff -Nurd -x'*~' local-lib-1.008004.orig/Makefile.PL local-lib-1.008004/Makefile.PL --- local-lib-1.008004.orig/Makefile.PL 2011-02-17 22:54:09.000000000 -0500 +++ local-lib-1.008004/Makefile.PL 2011-04-13 23:54:24.000000000 -0400 @@ -144,6 +144,7 @@ $cpan_command .= 'force("install","CPAN"); '; } if(length $cpan_command) { + die("packaging error: need to overcome desire to run $cpan_command\n"); system($^X, '-MCPAN', '-e', $cpan_config_command); $did_cpan_config++; system($^X, '-MCPAN', '-e', $cpan_command); @@ -200,7 +201,7 @@ # and make sure that the user doesn't have any existing CPAN config that'll # cause us problems for the next few steps. -{ +if (0) { local $@; eval { require CPAN::HandleConfig; }; # Need newish CPAN.pm for this, ergo skip it if that version of CPAN isn't @@ -242,13 +243,11 @@ } if ($bootstrapping) { - auto_install_now; postamble <<"END"; PERL += $bootstrapping_args FULLPERL += $bootstrapping_args END } else { - auto_install; } chdir($cwd); resources( diff -Nurd -x'*~' local-lib-1.008004.orig/t/install.t local-lib-1.008004/t/install.t --- local-lib-1.008004.orig/t/install.t 2011-02-17 22:54:09.000000000 -0500 +++ local-lib-1.008004/t/install.t 2011-04-13 23:56:16.000000000 -0400 @@ -19,16 +19,32 @@ my $orig_dir = cwd; SKIP: for my $dist_type (qw(EUMM MB)) { chdir File::Spec->catdir($orig_dir, qw(t dist), $dist_type); + 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; + if ($dist_type eq 'EUMM') { my ($stdout, $stderr) = capture { eval { - system($^X, 'Makefile.PL') && die "Makefile.PL failed"; + system(@command, 'Makefile.PL') && die "Makefile.PL failed"; system($Config{make}, 'install') && die "$Config{make} install failed"; } }; diag $stdout, $stderr if $@; } else { my ($stdout, $stderr) = capture { eval { - system($^X, 'Build.PL') && die "Build.PL failed"; - system($^X, 'Build', 'install') && die "Build install failed"; + system(@command, 'Build.PL') && die "Build.PL failed"; + system(@command, 'Build', 'install') && die "Build install failed"; } }; diag $stdout, $stderr if $@; } --- NEW FILE: file-homedir-pm.info --- Info2: << Package: file-homedir-pm%type_pkg[perl] Version: 0.98 Revision: 2 License: Artistic/GPL Description: Find your home and other directories Maintainer: Daniel Johnson <dan...@daniel-johnson.org> Homepage: http://search.cpan.org/dist/File-HomeDir/ Source: mirror:cpan:authors/id/A/AD/ADAMK/File-HomeDir-%v.tar.gz Source-MD5: 6db96f151a707894e0822c8014ae80dd #Self test fails on perl 5.8.6 Distribution: (%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.8 5.10.0 5.12.3) UpdatePOD: true #Tests don't work with --build-as-nobody since user doesn't really have a proper $HOME NoPerlTests: true DocFiles: Changes README LICENSE Depends: << file-path-pm%type_pkg[perl], file-spec-pm%type_pkg[perl], file-temp-pm%type_pkg[perl], file-which-pm%type_pkg[perl], mac-systemdirectory-pm%type_pkg[perl] << BuildDepends: fink (>= 0.29.0) InstallScript: << %{default_script} /bin/mv %i/share/man %i/lib/perl5/%type_raw[perl] << << --- NEW FILE: mac-systemdirectory-pm.info --- Info2: << Package: mac-systemdirectory-pm%type_pkg[perl] Version: 0.05 Revision: 2 License: Artistic/GPL Description: Locate Mac OS X Standard System Directories Maintainer: Daniel Johnson <dan...@daniel-johnson.org> Homepage: http://search.cpan.org/dist/Mac-SystemDirectory/ Source: mirror:cpan:authors/id/C/CH/CHANSEN/Mac-SystemDirectory-%v.tar.gz Source-MD5: 40992762695383e09884c99f9cb505fb Distribution: (%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.5, (%type_pkg[perl] = 588) 10.6 Type: perl (5.8.6 5.8.8 5.10.0 5.12.3) UpdatePOD: true DocFiles: Changes README Depends: perl%type_pkg[perl]-core BuildDepends: fink (>= 0.29.0), extutils-makemaker-pm%type_pkg[perl] (>= 6.56-3) InfoTest: TestDepends: test-simple-pm%type_pkg[perl] (>= 0.96-1) InstallScript: << %{default_script} /bin/mv %i/share/man %i/lib/perl5/%type_raw[perl] << << ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs