diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2015-06-11 22:32:06 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2015-06-11 22:32:06 +0000 |
commit | 467298a34215401cdcbb1dded51bc2aba5f1f41c (patch) | |
tree | 1923f32fbc9cf8f0b4ab291d1eb9fad5ab872d68 /lib/Module/Build/Platform/os2.pm | |
download | Module-Build-tarball-master.tar.gz |
Module-Build-0.4214HEADModule-Build-0.4214master
Diffstat (limited to 'lib/Module/Build/Platform/os2.pm')
-rw-r--r-- | lib/Module/Build/Platform/os2.pm | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/lib/Module/Build/Platform/os2.pm b/lib/Module/Build/Platform/os2.pm new file mode 100644 index 0000000..69fdf8e --- /dev/null +++ b/lib/Module/Build/Platform/os2.pm @@ -0,0 +1,48 @@ +package Module::Build::Platform::os2; + +use strict; +use warnings; +our $VERSION = '0.4214'; +$VERSION = eval $VERSION; +use Module::Build::Platform::Unix; + +our @ISA = qw(Module::Build::Platform::Unix); + +sub manpage_separator { '.' } + +sub have_forkpipe { 0 } + +# Copied from ExtUtils::MM_OS2::maybe_command +sub _maybe_command { + my($self,$file) = @_; + $file =~ s,[/\\]+,/,g; + return $file if -x $file && ! -d _; + return "$file.exe" if -x "$file.exe" && ! -d _; + return "$file.cmd" if -x "$file.cmd" && ! -d _; + return; +} + +1; +__END__ + + +=head1 NAME + +Module::Build::Platform::os2 - Builder class for OS/2 platform + +=head1 DESCRIPTION + +This module provides some routines very specific to the OS/2 +platform. + +Please see the L<Module::Build> for the general docs. + +=head1 AUTHOR + +Ken Williams <kwilliams@cpan.org> + +=head1 SEE ALSO + +perl(1), Module::Build(3), ExtUtils::MakeMaker(3) + +=cut |