Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for SLE-Module-Development-Tools:s390x
openSUSE:Leap:42.2:Ports
perl-DateTime-Calendar-Mayan
DateTime-Calendar-Mayan-Makefile.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File DateTime-Calendar-Mayan-Makefile.patch of Package perl-DateTime-Calendar-Mayan
Index: Makefile.PL =================================================================== --- Makefile.PL.orig +++ Makefile.PL @@ -1,27 +1,13 @@ -unless (eval "use Module::Build::Compat 0.02; 1" ) { - print "This module requires Module::Build to install itself.\n"; - - require ExtUtils::MakeMaker; - my $yn = ExtUtils::MakeMaker::prompt - (' Install Module::Build from CPAN?', 'y'); - - if ($yn =~ /^y/i) { - require Cwd; - require File::Spec; - require CPAN; - - # Save this 'cause CPAN will chdir all over the place. - my $cwd = Cwd::cwd(); - my $makefile = File::Spec->rel2abs($0); - - CPAN::Shell->install('Module::Build::Compat'); - - chdir $cwd or die "Cannot chdir() back to $cwd: $!"; - exec $^X, $makefile, @ARGV; # Redo now that we have Module::Build - } else { - warn " *** Cannot install without Module::Build. Exiting ...\n"; - exit 1; - } -} -Module::Build::Compat->run_build_pl(args => \@ARGV); -Module::Build::Compat->write_makefile(); +use 5.006; +use ExtUtils::MakeMaker; +# See lib/ExtUtils/MakeMaker.pm for details of how to influence +# the contents of the Makefile that is written. +WriteMakefile( + NAME => 'DateTime::Calendar::Mayan', + VERSION_FROM => 'lib/DateTime/Calendar/Mayan.pm', + PREREQ_PM => {}, + ($] >= 5.005 ? ## Add these new keywords supported since 5.005 + (ABSTRACT_FROM => 'lib/DateTime/Calendar/Mayan.pm', # retrieve abstract from module + AUTHOR => 'Joshua Hoblitt <jhoblitt@cpan.org>') : ()), + EXE_FILES => [], +);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor