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