summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorGraham Knop <haarg@haarg.org>2023-03-03 00:03:03 +0100
committerYves Orton <demerphq@gmail.com>2023-03-14 04:47:38 +0800
commit4d76bb125ec26eadb09f3093b39e8f21d4381bea (patch)
treecee57eeb3d287b3d5d954299848845784b6d520d /dist
parent6721733f1f540152ae49caec5a7da22cf83a89ba (diff)
downloadperl-4d76bb125ec26eadb09f3093b39e8f21d4381bea.tar.gz
dist/if: clean up Makefile.PL
Fix INSTALLDIRS for perls after 5.10. Add and update resource links.
Diffstat (limited to 'dist')
-rw-r--r--dist/if/Makefile.PL22
1 files changed, 13 insertions, 9 deletions
diff --git a/dist/if/Makefile.PL b/dist/if/Makefile.PL
index 712b6e8096..0d220e635a 100644
--- a/dist/if/Makefile.PL
+++ b/dist/if/Makefile.PL
@@ -1,11 +1,12 @@
use ExtUtils::MakeMaker;
-# See lib/ExtUtils/MakeMaker.pm for details of how to influence
-# the contents of the Makefile that is written.
WriteMakefile(
- 'NAME' => 'if',
- 'VERSION_FROM' => 'if.pm', # finds $VERSION
- ABSTRACT_FROM => 'if.pm',
- ($] >= 5.007003 ? ('INSTALLDIRS' => 'perl') : ()), # core since 5.7.3
+ NAME => 'if',
+ VERSION_FROM => 'if.pm', # finds $VERSION
+ ABSTRACT_FROM => 'if.pm',
+ # core since 5.7.3
+ (($] >= 5.007003 && $] < 5.011 ) ? (
+ 'INSTALLDIRS' => 'perl') : ()
+ ),
AUTHOR => 'Ilya Zakharevich <ilyaz@cpan.org>',
LICENSE => 'perl_5',
@@ -13,11 +14,14 @@ WriteMakefile(
'meta-spec' => { version => 2 },
dynamic_config => 0,
resources => {
- repository => { },
+ repository => {
+ type => 'git',
+ url => 'https://github.com/perl/perl5.git',
+ web => 'https://github.com/perl/perl5',
+ },
bugtracker => {
- web => 'https://rt.perl.org',
+ web => 'https://github.com/Perl/perl5/issues',
},
},
},
);
-