diff options
author | Steve Peters <steve@fisharerojo.org> | 2006-10-10 14:33:53 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2006-10-10 14:33:53 +0000 |
commit | 562c8117872556faadd31f703c1c1a0907ed9a04 (patch) | |
tree | e202e345d987ea7f8ceb97357d48ca4d8dfb5180 /lib/ExtUtils/MM_Unix.pm | |
parent | 81a4c762684cf629f6e7986fe1827ecd2af35ba2 (diff) | |
download | perl-562c8117872556faadd31f703c1c1a0907ed9a04.tar.gz |
Upgrade to ExtUtils-Makemaker-6.31.
p4raw-id: //depot/perl@28984
Diffstat (limited to 'lib/ExtUtils/MM_Unix.pm')
-rw-r--r-- | lib/ExtUtils/MM_Unix.pm | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm index ba3be677ca..d5f93a579f 100644 --- a/lib/ExtUtils/MM_Unix.pm +++ b/lib/ExtUtils/MM_Unix.pm @@ -18,7 +18,7 @@ use vars qw($VERSION @ISA use ExtUtils::MakeMaker qw($Verbose neatvalue); -$VERSION = '1.50_04'; +$VERSION = '1.51'; require ExtUtils::MM_Any; @ISA = qw(ExtUtils::MM_Any); @@ -2977,7 +2977,14 @@ PPD_OUT } - $ppd_xml .= sprintf <<'PPD_OUT', $Config{archname}; + my $archname = $Config{archname}; + if ($] >= 5.008) { + # 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); + } + $ppd_xml .= sprintf <<'PPD_OUT', $archname; <OS NAME="$(OSNAME)" /> <ARCHITECTURE NAME="%s" /> PPD_OUT |