perl-db/perl-db.patch

changeset 791
a5b2210360f9
parent 778
389c33ef5a93
equal deleted inserted replaced
0:319ec788bab9 1:e84abbbb4062
1 Index: BerkeleyDB-0.52/Makefile.PL 1 Index: BerkeleyDB-0.51/Makefile.PL
2 --- BerkeleyDB-0.51/Makefile.PL.orig 2005-08-31 23:30:09.000000000 +0200 2 --- BerkeleyDB-0.52/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 3 +++ BerkeleyDB-0.52/Makefile.PL 2005-11-16 20:50:32.640927202 +0100
4 @@ -32,6 +32,9 @@ 4 @@ -32,6 +32,9 @@
5 else { 5 else {
6 if ($^O eq 'MSWin32') 6 if ($^O eq 'MSWin32')
7 { $LIBS = '-llibdb' } 7 { $LIBS = '-llibdb' }
8 + elsif ($^O =~ /solaris/i ) { 8 + elsif ($^O =~ /solaris/i ) {
9 + $LIBS .= '-ldb -lrt'; 9 + $LIBS .= '-ldb -lrt';
10 + } 10 + }
11 elsif ($^O =~ /aix/i ) { 11 elsif ($^O =~ /aix/i ) {
12 $LIBS .= '-ldb -lpthread '; 12 $LIBS .= '-ldb -lpthread ';
13 if ($Config{'cc'} eq 'gcc' && $Config{'osvers'} eq '5.1') 13 if ($Config{'cc'} eq 'gcc' && $Config{'osvers'} eq '5.1')
14 Index: DB_File-1.828/Makefile.PL 14 Index: DB_File-1.826/Makefile.PL
15 --- DB_File-1.826/Makefile.PL.orig 2005-08-31 23:29:18.000000000 +0200 15 --- DB_File-1.828/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 16 +++ DB_File-1.828/Makefile.PL 2005-11-16 20:50:32.640641367 +0100
17 @@ -29,7 +29,7 @@ 17 @@ -29,7 +29,7 @@
18 } 18 }
19 19
20 # Solaris is special. 20 # Solaris is special.
21 -#$LIBS .= " -lthread" if $^O eq 'solaris' ; 21 -#$LIBS .= " -lthread" if $^O eq 'solaris' ;

mercurial