michael@779: Index: BerkeleyDB-0.51/Makefile.PL michael@779: --- BerkeleyDB-0.52/Makefile.PL.orig 2005-08-31 23:30:09.000000000 +0200 michael@779: +++ BerkeleyDB-0.52/Makefile.PL 2005-11-16 20:50:32.640927202 +0100 michael@778: @@ -32,6 +32,9 @@ michael@778: else { michael@778: if ($^O eq 'MSWin32') michael@778: { $LIBS = '-llibdb' } michael@778: + elsif ($^O =~ /solaris/i ) { michael@778: + $LIBS .= '-ldb -lrt'; michael@778: + } michael@778: elsif ($^O =~ /aix/i ) { michael@778: $LIBS .= '-ldb -lpthread '; michael@778: if ($Config{'cc'} eq 'gcc' && $Config{'osvers'} eq '5.1') michael@779: Index: DB_File-1.826/Makefile.PL michael@779: --- DB_File-1.828/Makefile.PL.orig 2005-08-31 23:29:18.000000000 +0200 michael@779: +++ DB_File-1.828/Makefile.PL 2005-11-16 20:50:32.640641367 +0100 michael@778: @@ -29,7 +29,7 @@ michael@778: } michael@778: michael@778: # Solaris is special. michael@778: -#$LIBS .= " -lthread" if $^O eq 'solaris' ; michael@778: +$LIBS .= " -lrt" if $^O eq 'solaris' ; michael@778: michael@778: # AIX is special. michael@778: $LIBS .= " -lpthread" if $^O eq 'aix' ;