Skip to content

Commit

Permalink
keep mandatory and optional dependencies separated
Browse files Browse the repository at this point in the history
  • Loading branch information
guillomovitch committed Aug 22, 2012
1 parent 7455aa6 commit 8a4a196
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Makefile.PL
Expand Up @@ -20,6 +20,11 @@ requires 'XML::TreePP' => '0.26';
if ($OSNAME eq 'darwin') {
requires 'Mac::SysProfile' => undef;
}
if ($OSNAME eq 'MSWin32') {
requires 'Win32::OLE' => undef;
requires 'Win32::TieRegistry' => undef;
requires 'Win32::Job' => undef;
}

# optional dependencies
recommends 'Compress::Zlib' => undef;
Expand All @@ -32,9 +37,6 @@ if ($OSNAME ne 'MSWin32') {
recommends 'Proc::Daemon' => undef;
recommends 'Proc::PID::File' => undef;
} else {
requires 'Win32::OLE' => undef;
requires 'Win32::TieRegistry' => undef;
requires 'Win32::Job' => undef;
recommends 'Win32::Daemon' => undef;
}

Expand Down

0 comments on commit 8a4a196

Please sign in to comment.