| 1 | use ExtUtils::MakeMaker; | ||
| 2 | # See lib/ExtUtils/MakeMaker.pm for details of how to influence | ||
| 3 | # the contents of the Makefile that is written. | ||
| 4 | WriteMakefile( | ||
| 5 | 'NAME' => 'ExtUtils::Constant', | ||
| 6 | 'VERSION_FROM' => 'lib/ExtUtils/Constant.pm', # finds $VERSION | ||
| 7 | # Added to the core somewhere around 5.7.2. | ||
| 8 | INSTALLDIRS => ($] >= 5.007002 && $] <= 5.012) ? 'perl' : 'site', | ||
| 9 | ); | ||
| 10 | |||
| 11 | if ($] > 5.005_50 && $] < 5.006001) { | ||
| 12 | warn <<"EORANT"; | ||
| 13 | |||
| 14 | The tests for this module will fail on perl 5.6.0 | ||
| 15 | Perl 5.6.0 contains many many Unicode bugs fixed in 5.6.1 which are impossible | ||
| 16 | to work round. Please upgrade to at least 5.6.1, preferably 5.8.0. | ||
| 17 | |||
| 18 | Bug reports from 5.6.0 users (even users on OS X dependent on Apple to ship | ||
| 19 | 5.6.1) will be acknowledged, tested on 5.6.1, and if not repeatable on 5.6.1 | ||
| 20 | will be noted as known failures due to 5.6.0, with no further action taken. | ||
| 21 | |||
| 22 | I am sorry if this sounds unhelpful, but I have better things to do with | ||
| 23 | the limited free time I can donate to this module than to go chasing bugs | ||
| 24 | known to already have a fix. | ||
| 25 | |||
| 26 | EORANT | ||
| 27 | } |