Sat, 25 Jan 2014 18:21:16 +0100
Improve runtime configuration including additional network definition.
michael@779 | 1 | Index: BerkeleyDB-0.51/Makefile.PL |
michael@779 | 2 | --- BerkeleyDB-0.52/Makefile.PL.orig 2005-08-31 23:30:09.000000000 +0200 |
michael@779 | 3 | +++ BerkeleyDB-0.52/Makefile.PL 2005-11-16 20:50:32.640927202 +0100 |
michael@778 | 4 | @@ -32,6 +32,9 @@ |
michael@778 | 5 | else { |
michael@778 | 6 | if ($^O eq 'MSWin32') |
michael@778 | 7 | { $LIBS = '-llibdb' } |
michael@778 | 8 | + elsif ($^O =~ /solaris/i ) { |
michael@778 | 9 | + $LIBS .= '-ldb -lrt'; |
michael@778 | 10 | + } |
michael@778 | 11 | elsif ($^O =~ /aix/i ) { |
michael@778 | 12 | $LIBS .= '-ldb -lpthread '; |
michael@778 | 13 | if ($Config{'cc'} eq 'gcc' && $Config{'osvers'} eq '5.1') |
michael@779 | 14 | Index: DB_File-1.826/Makefile.PL |
michael@779 | 15 | --- DB_File-1.828/Makefile.PL.orig 2005-08-31 23:29:18.000000000 +0200 |
michael@779 | 16 | +++ DB_File-1.828/Makefile.PL 2005-11-16 20:50:32.640641367 +0100 |
michael@778 | 17 | @@ -29,7 +29,7 @@ |
michael@778 | 18 | } |
michael@778 | 19 | |
michael@778 | 20 | # Solaris is special. |
michael@778 | 21 | -#$LIBS .= " -lthread" if $^O eq 'solaris' ; |
michael@778 | 22 | +$LIBS .= " -lrt" if $^O eq 'solaris' ; |
michael@778 | 23 | |
michael@778 | 24 | # AIX is special. |
michael@778 | 25 | $LIBS .= " -lpthread" if $^O eq 'aix' ; |