Change 34543 by [EMAIL PROTECTED] on 2008/10/21 06:37:13

        Cwd.xs won't load in development releases, unless we munge the
        XS_VERSION.

Affected files ...

... //depot/perl/ext/Cwd/Makefile.PL#6 edit

Differences ...

==== //depot/perl/ext/Cwd/Makefile.PL#6 (text) ====
Index: perl/ext/Cwd/Makefile.PL
--- perl/ext/Cwd/Makefile.PL#5~31382~   2007-06-14 07:12:35.000000000 -0700
+++ perl/ext/Cwd/Makefile.PL    2008-10-20 23:37:13.000000000 -0700
@@ -1,7 +1,11 @@
 # core-only Makefile.PL
 use ExtUtils::MakeMaker;
+use File::Spec;
+my $up = File::Spec->updir();
+
 WriteMakefile(
     NAME    => 'Cwd',
     VERSION_FROM => '../../lib/Cwd.pm',
     'DEFINE' => '-DNO_PPPORT_H',
+    XS_VERSION => eval MM->parse_version(File::Spec->catfile($up, $up, 'lib', 
'Cwd.pm')),
 );
End of Patch.

Reply via email to