|
Lines 34-45
Link Here
|
| 34 |
my $apr_ldflags = `$apr_config --cflags --link-ld --libs` |
34 |
my $apr_ldflags = `$apr_config --cflags --link-ld --libs` |
| 35 |
if $^O eq 'darwin'; |
35 |
if $^O eq 'darwin'; |
| 36 |
|
36 |
|
|
|
37 |
my $prefix = $ENV{DESTDIR}."/usr"; |
| 38 |
|
| 37 |
chomp $apr_shlib_path_var; |
39 |
chomp $apr_shlib_path_var; |
| 38 |
chomp $apr_cflags; |
40 |
chomp $apr_cflags; |
| 39 |
chomp $apu_cflags; |
41 |
chomp $apu_cflags; |
| 40 |
chomp $apr_ldflags; |
42 |
chomp $apr_ldflags; |
| 41 |
|
43 |
|
| 42 |
my %config = ( |
44 |
my %config = ( |
|
|
45 |
PREFIX => $prefix, |
| 43 |
ABSTRACT => 'Perl bindings for Subversion', |
46 |
ABSTRACT => 'Perl bindings for Subversion', |
| 44 |
CCFLAGS => join(' ', $apr_cflags, $apu_cflags, |
47 |
CCFLAGS => join(' ', $apr_cflags, $apu_cflags, |
| 45 |
`$perl_path -MExtUtils::Embed -e ccopts`, |
48 |
`$perl_path -MExtUtils::Embed -e ccopts`, |