1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-db/perl-db.patch Mon Jul 01 21:20:32 2013 +0200 1.3 @@ -0,0 +1,25 @@ 1.4 +Index: BerkeleyDB-0.52/Makefile.PL 1.5 +--- BerkeleyDB-0.51/Makefile.PL.orig 2005-08-31 23:30:09.000000000 +0200 1.6 ++++ BerkeleyDB-0.51/Makefile.PL 2005-11-16 20:50:32.640927202 +0100 1.7 +@@ -32,6 +32,9 @@ 1.8 + else { 1.9 + if ($^O eq 'MSWin32') 1.10 + { $LIBS = '-llibdb' } 1.11 ++ elsif ($^O =~ /solaris/i ) { 1.12 ++ $LIBS .= '-ldb -lrt'; 1.13 ++ } 1.14 + elsif ($^O =~ /aix/i ) { 1.15 + $LIBS .= '-ldb -lpthread '; 1.16 + if ($Config{'cc'} eq 'gcc' && $Config{'osvers'} eq '5.1') 1.17 +Index: DB_File-1.828/Makefile.PL 1.18 +--- DB_File-1.826/Makefile.PL.orig 2005-08-31 23:29:18.000000000 +0200 1.19 ++++ DB_File-1.826/Makefile.PL 2005-11-16 20:50:32.640641367 +0100 1.20 +@@ -29,7 +29,7 @@ 1.21 + } 1.22 + 1.23 + # Solaris is special. 1.24 +-#$LIBS .= " -lthread" if $^O eq 'solaris' ; 1.25 ++$LIBS .= " -lrt" if $^O eq 'solaris' ; 1.26 + 1.27 + # AIX is special. 1.28 + $LIBS .= " -lpthread" if $^O eq 'aix' ;