|
1 Index: BerkeleyDB-0.52/Makefile.PL |
|
2 --- BerkeleyDB-0.51/Makefile.PL.orig 2005-08-31 23:30:09.000000000 +0200 |
|
3 +++ BerkeleyDB-0.51/Makefile.PL 2005-11-16 20:50:32.640927202 +0100 |
|
4 @@ -32,6 +32,9 @@ |
|
5 else { |
|
6 if ($^O eq 'MSWin32') |
|
7 { $LIBS = '-llibdb' } |
|
8 + elsif ($^O =~ /solaris/i ) { |
|
9 + $LIBS .= '-ldb -lrt'; |
|
10 + } |
|
11 elsif ($^O =~ /aix/i ) { |
|
12 $LIBS .= '-ldb -lpthread '; |
|
13 if ($Config{'cc'} eq 'gcc' && $Config{'osvers'} eq '5.1') |
|
14 Index: DB_File-1.828/Makefile.PL |
|
15 --- DB_File-1.826/Makefile.PL.orig 2005-08-31 23:29:18.000000000 +0200 |
|
16 +++ DB_File-1.826/Makefile.PL 2005-11-16 20:50:32.640641367 +0100 |
|
17 @@ -29,7 +29,7 @@ |
|
18 } |
|
19 |
|
20 # Solaris is special. |
|
21 -#$LIBS .= " -lthread" if $^O eq 'solaris' ; |
|
22 +$LIBS .= " -lrt" if $^O eq 'solaris' ; |
|
23 |
|
24 # AIX is special. |
|
25 $LIBS .= " -lpthread" if $^O eq 'aix' ; |