| 1 | package ExtUtils::MM_Darwin; | ||||||||||||
| 2 | |||||||||||||
| 3 | 1 | ▶ | use strict; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 4 | |||||||||||||
| 5 | BEGIN { | ||||||||||||
| 6 | 1 | ▶ | require ExtUtils::MM_Unix; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 7 | 1 | our @ISA = qw( ExtUtils::MM_Unix ); | |||||||||||
| 8 | } | ||||||||||||
| 9 | |||||||||||||
| 10 | 1 | our $VERSION = '7.13_01'; | |||||||||||
| 11 | 1 | $VERSION = eval $VERSION; | |||||||||||
| 12 | |||||||||||||
| 13 | |||||||||||||
| 14 | =head1 NAME | ||||||||||||
| 15 | |||||||||||||
| 16 | ExtUtils::MM_Darwin - special behaviors for OS X | ||||||||||||
| 17 | |||||||||||||
| 18 | =head1 SYNOPSIS | ||||||||||||
| 19 | |||||||||||||
| 20 | For internal MakeMaker use only | ||||||||||||
| 21 | |||||||||||||
| 22 | =head1 DESCRIPTION | ||||||||||||
| 23 | |||||||||||||
| 24 | See L<ExtUtils::MM_Unix> for L<ExtUtils::MM_Any> for documentation on the | ||||||||||||
| 25 | methods overridden here. | ||||||||||||
| 26 | |||||||||||||
| 27 | =head2 Overriden Methods | ||||||||||||
| 28 | |||||||||||||
| 29 | =head3 init_dist | ||||||||||||
| 30 | |||||||||||||
| 31 | Turn off Apple tar's tendency to copy resource forks as "._foo" files. | ||||||||||||
| 32 | |||||||||||||
| 33 | =cut | ||||||||||||
| 34 | |||||||||||||
| 35 | sub init_dist { | ||||||||||||
| 36 | 0 | ▶ | my $self = shift; | ||||||||||
|
Subroutine
init_dist: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||||
| 37 | |||||||||||||
| 38 | # Thank you, Apple, for breaking tar and then breaking the work around. | ||||||||||||
| 39 | # 10.4 wants COPY_EXTENDED_ATTRIBUTES_DISABLE while 10.5 wants | ||||||||||||
| 40 | # COPYFILE_DISABLE. I'm not going to push my luck and instead just | ||||||||||||
| 41 | # set both. | ||||||||||||
| 42 | $self->{TAR} ||= | ||||||||||||
| 43 | 0 | ▶ | 'COPY_EXTENDED_ATTRIBUTES_DISABLE=1 COPYFILE_DISABLE=1 tar'; | ||||||||||
|
Condition0%0/2
$self->{"TAR"} ||= "COPY_EXTENDED_ATTRIBUTES_DISABLE=1 COPYFILE_DISABLE=1 tar"
MC/DC0%0/1
$self->{"TAR"} ||= "COPY_EXTENDED_ATTRIBUTES_DISABLE=1 COPYFILE_DISABLE=1 tar"
$self->{"TAR"}
Truth table0%0/2
A
A= $self->{"TAR"}
| |||||||||||||
| 44 | |||||||||||||
| 45 | 0 | $self->SUPER::init_dist(@_); | |||||||||||
| 46 | } | ||||||||||||
| 47 | |||||||||||||
| 48 | 1 | 1; | |||||||||||