From c4e5183b575d643a6b8a17fecd45cd57013d45a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Sun, 7 Feb 2021 23:37:55 +0800 Subject: [PATCH] Revised Makefile.PL and Build.PL. --- Build.PL | 2 ++ Makefile.PL | 10 ++-------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/Build.PL b/Build.PL index bab9158..1de11b3 100755 --- a/Build.PL +++ b/Build.PL @@ -1,5 +1,7 @@ #! /usr/bin/perl -w +require 5.008; use strict; +use warnings FATAL => 'all'; use Module::Build; my $build = Module::Build->new( diff --git a/Makefile.PL b/Makefile.PL index a89b013..88346a7 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,22 +1,16 @@ #! /usr/bin/perl -w require 5.008; use strict; +use warnings FATAL => 'all'; use ExtUtils::MakeMaker; -# LICENSE is only availabe since ExtUtils::MakeMaker 6.30_01 -use vars qw(%license $eummver); -%license = qw(); -$eummver = $ExtUtils::MakeMaker::VERSION; -$eummver =~ s/_//; -%license = (LICENSE => "perl") if $eummver > 6.30; - WriteMakefile( NAME => "Locale::Maketext::Gettext", VERSION => "1.31", ABSTRACT => "Joins gettext and Maketext frameworks", AUTHOR => "imacat ", - %license, PREREQ_PM => { }, + LICENSE => "perl", SIGN => 1, EXE_FILES => [ "script/maketext" ],