commit 5db36b6559ba0eaede42318f5e3a5fbee4afe753 Author: Alexey Tourbin Date: Sun Apr 24 23:01:22 2011 +0400 Errno.pm: removed version check (debian) Note by viy@: can be now replaced with ENV{'PERL_BUILD_EXPAND_CONFIG_VARS'} in spec diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL index 6251a3c..134cd6e 100644 --- a/ext/Errno/Errno_pm.PL +++ b/ext/Errno/Errno_pm.PL @@ -289,18 +289,6 @@ use strict; EDQ - # Errno only needs Config to make sure it hasn't changed platforms. - # If someone set $ENV{PERL_BUILD_EXPAND_CONFIG_VARS} at build time, - # they've already declared perl doesn't need to worry about this risk. - if(!$ENV{'PERL_BUILD_EXPAND_CONFIG_VARS'}) { - print <<"CONFIG_CHECK_END"; -use Config; -"\$Config{'archname'}-\$Config{'osvers'}" eq -"$archname-$Config{'osvers'}" or - die "Errno architecture ($archname-$Config{'osvers'}) does not match executable architecture (\$Config{'archname'}-\$Config{'osvers'})"; - -CONFIG_CHECK_END -} print <<"EDQ"; our \$VERSION = "$VERSION";