develooper Front page | perl.perl5.porters | Postings from June 2008

[rt.cpan.org #32879] [PATCH] ppd target gets ARCHITECTURE NAME wrong in 5.10

From:
Jan Dubois via RT
Date:
June 27, 2008 22:41
Subject:
[rt.cpan.org #32879] [PATCH] ppd target gets ARCHITECTURE NAME wrong in 5.10
Message ID:
rt-3.6.HEAD-23245-1214613441-1957.32879-5-0@rt.cpan.org
       Queue: ExtUtils-MakeMaker
 Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=32879 >

I find this patch slightly more obvious

@@ -3011,7 +3011,7 @@
         # archname did not change from 5.6 to 5.8, but those versions may
         # not be not binary compatible so now we append the part of the
         # version that changes when binary compatibility may change
-        $archname .= "-". substr($Config{version},0,3);
+        $archname .= "-$Config{PERL_REVISION}.$Config{PERL_VERSION}";
     }
     $ppd_xml .= sprintf <<'PPD_OUT', $archname;




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About