|
|
b16023 |
From 04664fb41a3eaa5bc688c4095107486f8c6d2f4c Mon Sep 17 00:00:00 2001
|
|
|
b16023 |
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
|
|
b16023 |
Date: Mon, 27 Oct 2014 16:55:18 +0100
|
|
|
b16023 |
Subject: [PATCH] Unbundle Encode::Locale
|
|
|
b16023 |
MIME-Version: 1.0
|
|
|
b16023 |
Content-Type: text/plain; charset=UTF-8
|
|
|
b16023 |
Content-Transfer-Encoding: 8bit
|
|
|
b16023 |
|
|
|
b16023 |
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
|
|
b16023 |
---
|
|
|
b16023 |
lib/ExtUtils/MakeMaker.pm | 6 +++---
|
|
|
b16023 |
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
b16023 |
|
|
|
b16023 |
diff --git a/lib/ExtUtils/MakeMaker.pm b/lib/ExtUtils/MakeMaker.pm
|
|
|
b16023 |
index 04ec5a3..759c079 100644
|
|
|
b16023 |
--- a/lib/ExtUtils/MakeMaker.pm
|
|
|
b16023 |
+++ b/lib/ExtUtils/MakeMaker.pm
|
|
|
b16023 |
@@ -10,9 +10,9 @@ use ExtUtils::MakeMaker::Config;
|
|
|
b16023 |
use version; # ensure we always have version.pm
|
|
|
b16023 |
use Carp;
|
|
|
b16023 |
use File::Path;
|
|
|
b16023 |
-my $CAN_DECODE = eval { require ExtUtils::MakeMaker::Locale; }; # 2 birds, 1 stone
|
|
|
b16023 |
-eval { ExtUtils::MakeMaker::Locale::reinit('UTF-8') }
|
|
|
b16023 |
- if $CAN_DECODE and $ExtUtils::MakeMaker::Locale::ENCODING_LOCALE eq 'US-ASCII';
|
|
|
b16023 |
+my $CAN_DECODE = eval { require Encode::Locale; }; # 2 birds, 1 stone
|
|
|
b16023 |
+eval { Encode::Locale::reinit('UTF-8') }
|
|
|
b16023 |
+ if $CAN_DECODE and $Encode::Locale::ENCODING_LOCALE eq 'US-ASCII';
|
|
|
b16023 |
|
|
|
b16023 |
our $Verbose = 0; # exported
|
|
|
b16023 |
our @Parent; # needs to be localized
|
|
|
b16023 |
--
|
|
|
b16023 |
1.9.3
|
|
|
b16023 |
|