Manual

- Overview
- Tutorials
- FAQs
- History / Changes
- License

Reference

- Language
- Functions
- Operators
- Special Variables
- Pragmas
- Utilities
- Internals
- Platform Specific

Modules

- A • B • C • D • E
- F • G • H • I • L
- M • N • O • P • S
- T • U • X

News / Blogs

- Perl Buzz
- Perl Iron Man
- Perlsphere
- Planet Perl
- TPF news
- Use Perl

See also

- CPAN
- Perl.org
- Perl.com
- Perl 5 Wiki
- Perl Jobs
- Perl Mongers
- Perl Monks

Contact

- Site designed and maintained by Jon Allen (JJ)
- http://perl.jonallen.info

- View the project page and FAQs

# Module::Build::Platform::MacOS

Perl 5 version 10.1 documentation
Go to top • Show page index • Download PDF

# Module::Build::Platform::MacOS

- NAME
- DESCRIPTION
  - Overridden Methods
- AUTHOR
- SEE ALSO

# NAME

Module::Build::Platform::MacOS - Builder class for MacOS platforms

# DESCRIPTION

The sole purpose of this module is to inherit from `Module::Build::Base` and override a few methods. Please see Module::Build for the docs.

## Overridden Methods

- new()

  MacPerl doesn't define $Config{sitelib} or $Config{sitearch} for some reason, but $Config{installsitelib} and $Config{installsitearch} are there. So we copy the install variables to the other location

- make_executable()

  On MacOS we set the file type and creator to MacPerl so it will run with a double-click.

- dispatch()

  Because there's no easy way to say "./Build test" on MacOS, if dispatch is called with no arguments and no @ARGV a dialog box will pop up asking what action to take and any extra arguments.

  Default action is "test".

- ACTION_realclean()

  Need to unlock the Build program before deleting.

# AUTHOR

Michael G Schwern <schwern@pobox.com>

# SEE ALSO

perl(1), Module::Build(3), ExtUtils::MakeMaker(3)

Page index

- NAME
- DESCRIPTION
  - Overridden Methods
- AUTHOR
- SEE ALSO

Recently read

Tools

- Preferences