OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Socket-GetAddrInfo?expand=0&rev=1
35 lines
1.0 KiB
Diff
35 lines
1.0 KiB
Diff
Index: Makefile.PL
|
|
===================================================================
|
|
--- Makefile.PL.orig
|
|
+++ Makefile.PL
|
|
@@ -1,6 +1,24 @@
|
|
# Note: this file was auto-generated by Module::Build::Compat version 0.3607
|
|
- use Module::Build::Compat 0.02;
|
|
-
|
|
- Module::Build::Compat->run_build_pl(args => \@ARGV);
|
|
- require Module::Build;
|
|
- Module::Build::Compat->write_makefile(build_class => 'Module::Build');
|
|
+use 5.006;
|
|
+use ExtUtils::MakeMaker;
|
|
+
|
|
+WriteMakefile(
|
|
+ NAME => 'Socket::GetAddrInfo',
|
|
+ VERSION_FROM => 'lib/Socket/GetAddrInfo.pm',
|
|
+ PREREQ_PM => {
|
|
+ 'Socket' => '1.93',
|
|
+ 'XSLoader' => 0,
|
|
+ },
|
|
+ BUILD_REQUIRES => {
|
|
+ 'ExtUtils::CBuilder' => 0,
|
|
+ 'ExtUtils::CChecker' => '0.06',
|
|
+ 'Module::Build' => 0,
|
|
+ 'Module::Build::Compat' => 0,
|
|
+ 'Scalar::Util' => 0,
|
|
+ 'Test::More' => 0,
|
|
+ },
|
|
+ ($] >= 5.005 ? ## Add these new keywords supported since 5.005
|
|
+ (ABSTRACT_FROM => 'lib/Socket/GetAddrInfo.pm', # retrieve abstract from module
|
|
+ AUTHOR => 'Paul Evans <leonerd@leonerd.org.uk>') : ()),
|
|
+ EXE_FILES => [],
|
|
+);
|