Pair Networks
None

SYNOPSIS

   None

DESCRIPTION

BSDPAN::ExtUtils::MM_Unix overrides two subs from the standard perl module ExtUtils::MM_Unix.

The overridden init_main() first calls the original init_main(). Then, if the Perl port build is detected, and the PREFIX stored in the ExtUtils::MM_Unix object is not /usr/local/, it proceeds to change various installation paths ExtUtils::MM_Unix maintains, to match PREFIX.

The overridden tool_xsubpp() sub temporarily undoes the change in the environment done by the overridden init_main(), so that xsubpp(1) and other XS tools will be searched in the right place.

Thus, BSDPAN::ExtUtils::MM_Unix is responsible for making p5- ports PREFIX-clean.

AUTHOR

Anton Berezin, tobez@tobez.org

SEE ALSO

perl(1), BSDPAN(3), BSDPAN::Override(3), ports(7).