Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 212212 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile.PL.orig (-7 / +6 lines)
Lines 7-22 Link Here
7
@ENV{"LD_LIBRARY_PATH"});
7
@ENV{"LD_LIBRARY_PATH"});
8
8
9
$CC = 'g++';
9
$CC = 'g++';
10
$srcdir = '../../src';
11
10
12
# check if we're compiling in the source directory
11
# check if we're compiling in the source directory
13
# check first for the static, then change to dynamic if available
12
# check first for the static, then change to dynamic if available
14
$ldfrom = "\$(OBJECT) $srcdir/.libs/libopenbabel.a -lz"
13
$ldfrom = "\$(OBJECT) /usr/lib/libopenbabel.a -lz"
15
    if (-r "$srcdir/.libs/libopenbabel.a") and (-s _) and (-B _);
14
    if (-r "/usr/lib/libopenbabel.a") and (-s _) and (-B _);
16
$ldfrom = "\$(OBJECT) -L$srcdir/.libs -lopenbabel -lz"
15
$ldfrom = "\$(OBJECT) -L/usr/lib -lopenbabel -lz"
17
    if (-r "$srcdir/.libs/libopenbabel.dylib") and (-s _) and (-B _);
16
    if (-r "/usr/lib/libopenbabel.dylib") and (-s _) and (-B _);
18
$ldfrom = "\$(OBJECT) -L$srcdir/.libs -lopenbabel -lz"
17
$ldfrom = "\$(OBJECT) -L/usr/lib -lopenbabel -lz"
19
    if (-r "$srcdir/.libs/libopenbabel.so") and (-s _) and (-B _);
18
    if (-r "/usr/lib/libopenbabel.so") and (-s _) and (-B _);
20
19
21
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
20
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
22
# the contents of the Makefile that is written.
21
# the contents of the Makefile that is written.

Return to bug 212212