perl-db/perl-db.patch

Tue, 02 Jul 2013 18:20:50 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 02 Jul 2013 18:20:50 +0200
changeset 781
25504c2d46b1
parent 778
389c33ef5a93
permissions
-rw-r--r--

Update to new vendor version and patch according to pcre problems.

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

mercurial