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