| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
use strict; |
|
3
|
1
|
|
|
1
|
|
8114
|
use warnings; |
|
|
1
|
|
|
|
|
1
|
|
|
|
1
|
|
|
|
|
26
|
|
|
4
|
1
|
|
|
1
|
|
4
|
|
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
53
|
|
|
5
|
|
|
|
|
|
|
BEGIN { |
|
6
|
|
|
|
|
|
|
require ExtUtils::MM_Unix; |
|
7
|
1
|
|
|
1
|
|
5
|
our @ISA = qw( ExtUtils::MM_Unix ); |
|
8
|
1
|
|
|
|
|
294
|
} |
|
9
|
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
our $VERSION = '7.64'; |
|
11
|
|
|
|
|
|
|
$VERSION =~ tr/_//d; |
|
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> or L<ExtUtils::MM_Any> for documentation on the |
|
25
|
|
|
|
|
|
|
methods overridden here. |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head2 Overridden 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
|
|
|
|
|
|
|
my $self = shift; |
|
36
|
|
|
|
|
|
|
|
|
37
|
0
|
|
|
0
|
1
|
|
# 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
|
|
|
|
|
|
|
$self->{TAR} ||= |
|
42
|
|
|
|
|
|
|
'COPY_EXTENDED_ATTRIBUTES_DISABLE=1 COPYFILE_DISABLE=1 tar'; |
|
43
|
|
|
|
|
|
|
|
|
44
|
0
|
|
0
|
|
|
|
$self->SUPER::init_dist(@_); |
|
45
|
|
|
|
|
|
|
} |
|
46
|
0
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head3 cflags |
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Over-ride Apple's automatic setting of -Werror |
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=cut |
|
52
|
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
my($self,$libperl)=@_; |
|
54
|
|
|
|
|
|
|
return $self->{CFLAGS} if $self->{CFLAGS}; |
|
55
|
|
|
|
|
|
|
return '' unless $self->needs_linking(); |
|
56
|
0
|
|
|
0
|
1
|
|
|
|
57
|
0
|
0
|
|
|
|
|
my $base = $self->SUPER::cflags($libperl); |
|
58
|
0
|
0
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
foreach (split /\n/, $base) { |
|
60
|
0
|
|
|
|
|
|
/^(\S*)\s*=\s*(\S*)$/ and $self->{$1} = $2; |
|
61
|
|
|
|
|
|
|
}; |
|
62
|
0
|
|
|
|
|
|
$self->{CCFLAGS} .= " -Wno-error=implicit-function-declaration"; |
|
63
|
0
|
0
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
return $self->{CFLAGS} = qq{ |
|
65
|
0
|
|
|
|
|
|
CCFLAGS = $self->{CCFLAGS} |
|
66
|
|
|
|
|
|
|
OPTIMIZE = $self->{OPTIMIZE} |
|
67
|
0
|
|
|
|
|
|
PERLTYPE = $self->{PERLTYPE} |
|
68
|
|
|
|
|
|
|
}; |
|
69
|
|
|
|
|
|
|
} |
|
70
|
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
1; |