Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-chemistry/openbabel-python/files: openbabel-python-2.3.0-system_openbabel.patch
Date: Thu, 28 Apr 2011 19:22:02
Message-Id: 20110428192151.646ED20057@flycatcher.gentoo.org
1 arfrever 11/04/28 19:21:51
2
3 Added: openbabel-python-2.3.0-system_openbabel.patch
4 Log:
5 Don't use cmake. Use system libopenbabel.
6
7 (Portage version: 2.2.0_alpha30_p13/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 sci-chemistry/openbabel-python/files/openbabel-python-2.3.0-system_openbabel.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/openbabel-python/files/openbabel-python-2.3.0-system_openbabel.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/openbabel-python/files/openbabel-python-2.3.0-system_openbabel.patch?rev=1.1&content-type=text/plain
14
15 Index: openbabel-python-2.3.0-system_openbabel.patch
16 ===================================================================
17 --- scripts/python/setup.py
18 +++ scripts/python/setup.py
19 @@ -15,9 +15,7 @@
20
21 obExtension = Extension('_openbabel',
22 [os.path.join(srcdir, "openbabel-python.cpp")],
23 - include_dirs=[os.path.join(srcdir, "..", "..", "include"),
24 - os.path.join("..", "include")],
25 - library_dirs=[os.path.join("..", "lib")],
26 + include_dirs=[os.path.join("/usr", "include", "openbabel-2.0")],
27 libraries=['openbabel']
28 )