Module::Build::Platform::MacOS(3pm)

Module::Build::Platform::MacOS3pm

Builder class for macos platforms

Overview

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.

Releases

12 releases since Debian 3.1 (Sarge); the text changed 10 times.

  1. 3.1–4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10
  8. 11
  9. 12
  10. 13
  11. Arch

Author

Michael G Schwern <[email protected]>

From perl-module-build 0.4234-6 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.