Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 32880
Status: rejected
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: robertmay [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 6.42
Fixed in: (no value)



Subject: [PATCH] ppd target gets ARCHITECTURE NAME wrong in 5.10
Attached patch fixes the ppd target generation in MM_Unix for perl 5.10.0 and above. This code: $archname .= "-". substr($Config{version},0,3); adds -5.1 rather than -5.10 to $archname, which results in PPM not finding the installation tarball. Patch, based on code at at the start of the function, replaces that line with: my ($arch_ver) = join ".", (split (/\./, $Config{version}), (0)x2)[0..1]; $archname .= "-$arch_ver"; Regards, Rob.
Subject: MM_Unix.pm.patch
--- MM_Unix.pm.orig Mon Dec 10 13:06:58 2007 +++ MM_Unix.pm Sat Feb 02 20:00:52 2008 @@ -3011,7 +3011,8 @@ PPD_OUT # 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); + my ($arch_ver) = join ".", (split (/\./, $Config{version}), (0)x2)[0..1]; + $archname .= "-$arch_ver"; } $ppd_xml .= sprintf <<'PPD_OUT', $archname; <OS NAME="$(OSNAME)" />
Duplicate of #32879
On Sat Feb 02 10:09:17 2008, ROBERTMAY wrote: Show quoted text
> Duplicate of #32879
I don't seem to have enough permission to change the details of my own submission. Please close this item, it is a duplicate of #32897, caused by my impatience.