Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (19 sloc) 0.52 kb
use strict;
use ExtUtils::MakeMaker;
my %ARGS = (
NAME => 'mop',
VERSION_FROM => 'mop.pm',
OBJECT => '$(O_FILES)',
OPTIMIZE => '-ggdb',
);
my %PREREQ_PM = ('ExtUtils::Depends' => 0);
if ($] > 5.010) {
$PREREQ_PM{'MRO::Compat'} = 0;
}
$ARGS{ PREREQ_PM } = \%PREREQ_PM;
# XXX Hmm, isn't there a better way to do this?
if (eval { require ExtUtils::Depends } && !$@) {
my $pkg = ExtUtils::Depends->new( mop => 'Devel::MRO' );
%ARGS = (%ARGS, $pkg->get_makefile_vars);
}
WriteMakefile(%ARGS);
Jump to Line
Something went wrong with that request. Please try again.