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

Modified Files:
        extutils-makemaker-pm.info 
Added Files:
        extutils-makemaker-pm-6.73.01.info 
        extutils-makemaker-pm-6.73.01.patch 
Log Message:
extutils-makemaker-pm >= 6.74 won't build on perl588.
Resurrect 6.73.01 for there.

Index: extutils-makemaker-pm.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/libs/perlmods/extutils-makemaker-pm.info,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- extutils-makemaker-pm.info  27 Aug 2013 22:19:15 -0000      1.15
+++ extutils-makemaker-pm.info  29 Aug 2013 01:08:40 -0000      1.16
@@ -3,7 +3,7 @@
 Version: 6.74
 Revision: 1
 
-Type: perl (5.8.8 5.10.0)
+Type: perl (5.10.0)
 Description: Perl module to create a module Makefile
 License: Artistic
 Maintainer: Daniel Johnson <dan...@daniel-johnson.org>

--- NEW FILE: extutils-makemaker-pm-6.73.01.patch ---
diff -ru ExtUtils-MakeMaker-6.68.orig/lib/ExtUtils/MakeMaker.pm 
ExtUtils-MakeMaker-6.68/lib/ExtUtils/MakeMaker.pm
--- ExtUtils-MakeMaker-6.68.orig/lib/ExtUtils/MakeMaker.pm      2013-06-14 
18:26:40.000000000 -0400
+++ ExtUtils-MakeMaker-6.68/lib/ExtUtils/MakeMaker.pm   2013-07-06 
22:55:48.000000000 -0400
@@ -209,8 +209,8 @@
 
 sub eval_in_subdirs {
     my($self) = @_;
-    use Cwd qw(cwd abs_path);
-    my $pwd = cwd() || die "Can't figure out your cwd!";
+    use Cwd qw(getcwd abs_path);
+    my $pwd = getcwd() || die "Can't figure out your cwd!";
 
     local @INC = map eval {abs_path($_) if -e} || $_, @INC;
     push @INC, '.';     # '.' has to always be at the end of @INC
@@ -363,6 +363,11 @@
         $Recognized_Att_Keys{$item} = 1;
     }
     foreach my $item (@Get_from_Config) {
+       if ($item eq 'lddlflags' && '@PREFIX@' ne '/usr/local') {
+           $Config{$item} =~ s,-L/usr/local/lib,,;
+           print "# removed -L/usr/local/lib from '\U$item\E'\n"
+               if ($Verbose >= 2);
+       }
         $Recognized_Att_Keys{uc $item} = $Config{$item};
         print "Attribute '\U$item\E' => '$Config{$item}'\n"
             if ($Verbose >= 2);
diff -ru ExtUtils-MakeMaker-6.68.orig/t/lib/MakeMaker/Test/Utils.pm 
ExtUtils-MakeMaker-6.68/t/lib/MakeMaker/Test/Utils.pm
--- ExtUtils-MakeMaker-6.68.orig/t/lib/MakeMaker/Test/Utils.pm  2013-04-14 
05:53:19.000000000 -0400
+++ ExtUtils-MakeMaker-6.68/t/lib/MakeMaker/Test/Utils.pm       2013-07-06 
22:54:15.000000000 -0400
@@ -114,6 +114,7 @@
 =cut
 
 sub which_perl {
+    return 'FULLPERL';
     my $perl = $^X;
     $perl ||= 'perl';
 

--- NEW FILE: extutils-makemaker-pm-6.73.01.info ---
Info2: <<
Package: extutils-makemaker-pm%type_pkg[perl]
Version: 6.73.01
Revision: 1

Type: perl (5.8.8)
Description: Perl module to create a module Makefile
License: Artistic
Maintainer: Daniel Johnson <dan...@daniel-johnson.org>
DescPackaging: <<
        Previously maintained by
        Christian Schaffner <chri...@users.sourceforge.net>
        
        Eliminated -bin splitoff and used update-alternatives to
        allow binaries to coexist.
<<
DescPort: <<
        Patch makefile generator to remove -L/usr/local/lib from early
        in LDDLFLAGS (don't have non-fink mask fink)
        
        It appears that Cwd::cwd can't get the cwd from within fink's build
        environment but Cwd::getcwd can. Patch MakeMaker.pm to use getcwd.
<<

# Dependencies:
BuildDepends: fink (>= 0.24.12)
Depends: <<
        cpan-meta-pm%type_pkg[perl] (>= 2.131560-1),
        cpan-meta-requirements-pm%type_pkg[perl] (>= 2.121-1),
        cpan-meta-yaml-pm (>= 0.008-1),
        extutils-command-pm (>= 1.17-1),
        extutils-install-pm (>= 1.54-1),
        extutils-manifest-pm (>= 1.60-1),
        file-copy-recursive-pm,
        file-temp-pm%type_pkg[perl],
        json-pp-pm (>= 2.27.200-1),
        parse-cpan-meta-pm (>= 1.44.01),
        perl%type_pkg[perl]-core,
        scalar-list-utils-pm%type_pkg[perl],
        version-pm%type_pkg[perl] (>= 1:0.88-1)
<<

Replaces: %{Ni}586-bin, %{Ni}588-bin
Provides: %N-bin

# Unpack Phase:
Source: mirror:cpan:authors/id/B/BI/BINGOS/ExtUtils-MakeMaker-6.73_01.tar.gz
#Source: mirror:cpan:modules/by-module/ExtUtils/ExtUtils-MakeMaker-%v.tar.gz
Source-MD5: 89289ef8393f7e5be806d383134a6d3b

PatchFile: %{ni}-%v.patch
PatchFile-MD5: 85f7c82e830f1d7b23e18ed32c078d3c
PatchScript: <<
        #!/bin/bash -ev
        sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1

        export FULLPERL=`echo '%c' | perl -n -e 'print /PERL="(.*?)"/'`
        perl -pi -e "s,FULLPERL,$FULLPERL," t/lib/MakeMaker/Test/Utils.pm
<<

CompileScript: <<
        #!/bin/bash -ev
        export BUILDING_AS_PACKAGE=1
        %{default_script}
<<

# Install Phase:
UpdatePOD: True
DocFiles: Changes MANIFEST README
InstallScript: <<
 %{default_script}
 mv %i/share/man %i/lib/perl5/%type_raw[perl]
 /bin/mv %i/bin/instmodsh %i/bin/instmodsh-pm%type_pkg[perl]
<<
InfoTest: <<
        TestDepends: file-temp-pm%type_pkg[perl] (>= 0.22-1)
        TestScript: <<
                #!/bin/bash -ev
                # t/basic.t is broken on non-default arch of multiarch
                # perl and very hard to fix, so just scrap it in that
                # situation. Apple perl is multiarch, fink perl is
                # not, so heuristic is perl likely to be apple's and
                # arch is not the expected default for it.
                if dpkg --compare-versions "%type_raw[perl]" ">=" "5.10.0" && [ 
"%m" = "i386" ] && [ -e /usr/bin/perl%type_raw[perl] ]; then
                        rm t/basic.t
                fi
                export ARCHFLAGS=""
                %{default_script}
        <<
<<

PostInstScript: update-alternatives --install %p/bin/instmodsh instmodsh 
%p/bin/instmodsh-pm%type_pkg[perl] %type_pkg[perl]

PreRmScript: update-alternatives --remove instmodsh 
%p/bin/instmodsh-pm%type_pkg[perl]

# Additional Info:
Homepage: http://search.cpan.org/dist/ExtUtils-MakeMaker/
<<

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to