perl-db.patch 820 B

1234567891011121314151617181920212223242526
  1. Index: BerkeleyDB-0.39/Makefile.PL
  2. --- BerkeleyDB-0.39/Makefile.PL.orig 2005-08-31 23:30:09.000000000 +0200
  3. +++ BerkeleyDB-0.39/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.820/Makefile.PL
  15. --- DB_File-1.820/Makefile.PL.orig 2005-08-31 23:29:18.000000000 +0200
  16. +++ DB_File-1.820/Makefile.PL 2005-11-16 20:50:32.640641367 +0100
  17. @@ -29,7 +29,7 @@
  18. }
  19. # Solaris is special.
  20. -#$LIBS .= " -lthread" if $^O eq 'solaris' ;
  21. +$LIBS .= " -lrt" if $^O eq 'solaris' ;
  22. # AIX is special.
  23. $LIBS .= " -lpthread" if $^O eq 'aix' ;