From cbcb27109b8b3ddd478fe7f6f072b175a3546e9b Mon Sep 17 00:00:00 2001 From: Charles McGarvey Date: Fri, 7 Jun 2013 11:33:11 -0600 Subject: [PATCH] =?utf8?q?do=20not=20print=20=C3=98=20for=20the=20benefit?= =?utf8?q?=20of=20unicode-unaware=20terminals?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- inc/My/Build.pm | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/inc/My/Build.pm b/inc/My/Build.pm index add7449..d9ca6c7 100644 --- a/inc/My/Build.pm +++ b/inc/My/Build.pm @@ -2,7 +2,6 @@ package My::Build; use warnings FATAL => 'all'; use strict; -use utf8; use Archive::Tar; use Cwd qw/realpath/; @@ -34,9 +33,9 @@ sub ACTION_code { } if ($vars{inc_version} && $vars{lib_version} && $vars{inc_dir} && $vars{lib_dir}) { - print "Found ØMQ $vars{lib_version}; skipping installation\n"; + print "Found libzmq $vars{lib_version}; skipping installation\n"; } else { - print "ØMQ not found; building from source...\n"; + print "libzmq not found; building from source...\n"; %vars = $self->install_zeromq; } @@ -158,9 +157,9 @@ sub install_zeromq { my $sha1 = $self->notes('zmq-sha1'); my $archive = "zeromq-$version.tar.gz"; - print "Downloading ØMQ $version source archive from download.zeromq.org...\n"; + print "Downloading libzmq $version source archive from download.zeromq.org...\n"; getstore("http://download.zeromq.org/$archive", $archive) == RC_OK - or die "Failed to download ØMQ source archive"; + or die "Failed to download libzmq source archive"; print "Verifying...\n"; my $sha1sum = Digest::SHA->new; @@ -182,20 +181,20 @@ sub install_zeromq { print "Patching...\n"; for my $patch (glob("$basedir/files/zeromq-$version-*.patch")) { - run [qw/patch -p1/], '<', $patch or die "Failed to patch ØMQ"; + run [qw/patch -p1/], '<', $patch or die "Failed to patch libzmq"; } print "Configuring...\n"; my @config = $cb->split_like_shell($self->args('zmq-config') || ""); $cb->do_system(qw/sh configure CPPFLAGS=-Wno-error/, "--prefix=$prefix", @config) - or die "Failed to configure ØMQ"; + or die "Failed to configure libzmq"; print "Compiling...\n"; - $cb->do_system("make") or die "Failed to make ØMQ"; + $cb->do_system("make") or die "Failed to make libzmq"; print "Installing...\n"; $cb->do_system(qw|make install prefix=/|, "DESTDIR=$datadir") - or die "Failed to install ØMQ"; + or die "Failed to install libzmq"; chdir $basedir; remove_tree($srcdir); -- 2.45.2