use percona toolkit instead of maatkit
[slapos.git] / component / perl-DBD-common / DBD-mysql-4.019.rpathsupport.patch
1 --- DBD-mysql-4.019.back/Makefile.PL    2011-05-09 03:12:07.000000000 +0200
2 +++ DBD-mysql-4.019/Makefile.PL 2011-06-22 11:44:06.478371893 +0200
3 @@ -358,7 +358,14 @@  
4                       'Data::Dumper' => 0 };
5  }
6
7 -ExtUtils::MakeMaker::WriteMakefile(%o);
8 +
9 +my %config;
10 +if (defined($ENV{'OTHERLDFLAGS'})) {
11 +    $config{dynamic_lib} = { OTHERLDFLAGS => " $ENV{'OTHERLDFLAGS'} " };
12 +}
13 +
14 +
15 +ExtUtils::MakeMaker::WriteMakefile(%o, %config);
16  exit 0;
17
18
19