diff -r 4e2fe5febd48 -r 389c33ef5a93 perl-db/perl-db.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-db/perl-db.patch Mon Jul 01 21:20:32 2013 +0200 @@ -0,0 +1,25 @@ +Index: BerkeleyDB-0.52/Makefile.PL +--- BerkeleyDB-0.51/Makefile.PL.orig 2005-08-31 23:30:09.000000000 +0200 ++++ BerkeleyDB-0.51/Makefile.PL 2005-11-16 20:50:32.640927202 +0100 +@@ -32,6 +32,9 @@ + else { + if ($^O eq 'MSWin32') + { $LIBS = '-llibdb' } ++ elsif ($^O =~ /solaris/i ) { ++ $LIBS .= '-ldb -lrt'; ++ } + elsif ($^O =~ /aix/i ) { + $LIBS .= '-ldb -lpthread '; + if ($Config{'cc'} eq 'gcc' && $Config{'osvers'} eq '5.1') +Index: DB_File-1.828/Makefile.PL +--- DB_File-1.826/Makefile.PL.orig 2005-08-31 23:29:18.000000000 +0200 ++++ DB_File-1.826/Makefile.PL 2005-11-16 20:50:32.640641367 +0100 +@@ -29,7 +29,7 @@ + } + + # Solaris is special. +-#$LIBS .= " -lthread" if $^O eq 'solaris' ; ++$LIBS .= " -lrt" if $^O eq 'solaris' ; + + # AIX is special. + $LIBS .= " -lpthread" if $^O eq 'aix' ;