]> git.pld-linux.org Git - packages/openbabel.git/blob - perl-x32.patch
- release 2 (by relup.sh)
[packages/openbabel.git] / perl-x32.patch
1 --- openbabel-2.3.2/scripts/perl/Makefile.PL.orig       2015-04-02 18:57:45.000000000 +0000
2 +++ openbabel-2.3.2/scripts/perl/Makefile.PL    2015-04-02 18:58:56.000000000 +0000
3 @@ -15,6 +15,9 @@
4  elsif (-e "$cmakebindir/lib64/libopenbabel.so") {
5    check_lib_or_exit( lib => 'openbabel' , libpath => "$cmakebindir/lib64");
6  }
7 +elsif (-e "$cmakebindir/libx32/libopenbabel.so") {
8 +  check_lib_or_exit( lib => 'openbabel' , libpath => "$cmakebindir/libx32");
9 +}
10  else {
11    check_lib_or_exit( lib => 'openbabel' , libpath => @ENV{"LD_LIBRARY_PATH"});
12  }
13 @@ -26,6 +29,8 @@
14      if (-r "$cmakebindir/lib/libopenbabel.so") and (-s _) and (-B _);
15  $ldfrom = "\$(OBJECT) -L$cmakebindir/lib64 -lopenbabel"
16      if (-r "$cmakebindir/lib64/libopenbabel.so") and (-s _) and (-B _);
17 +$ldfrom = "\$(OBJECT) -L$cmakebindir/libx32 -lopenbabel"
18 +    if (-r "$cmakebindir/libx32/libopenbabel.so") and (-s _) and (-B _);
19  
20  # See lib/ExtUtils/MakeMaker.pm for details of how to influence
21  # the contents of the Makefile that is written.
This page took 0.06949 seconds and 3 git commands to generate.