1 |
commit: 9b02dad224fac496af03ccfbc2d001346206a2e8 |
2 |
Author: Davide Pesavento <davidepesa <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Jun 3 16:33:11 2012 +0000 |
4 |
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 3 16:33:11 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=9b02dad2 |
7 |
|
8 |
[dev-python/shiboken] Sync with portage. |
9 |
|
10 |
(Portage version: 2.2.0_alpha109/git/Linux x86_64, unsigned Manifest commit) |
11 |
|
12 |
--- |
13 |
dev-python/shiboken/files/rpath.cmake | 10 ++++++++++ |
14 |
dev-python/shiboken/shiboken-9999.ebuild | 9 +++++++-- |
15 |
2 files changed, 17 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/shiboken/files/rpath.cmake b/dev-python/shiboken/files/rpath.cmake |
18 |
new file mode 100644 |
19 |
index 0000000..b896c87 |
20 |
--- /dev/null |
21 |
+++ b/dev-python/shiboken/files/rpath.cmake |
22 |
@@ -0,0 +1,10 @@ |
23 |
+# use, i.e. don't skip the full RPATH for the build tree |
24 |
+SET(CMAKE_SKIP_BUILD_RPATH FALSE) |
25 |
+ |
26 |
+# when building, don't use the install RPATH already |
27 |
+# (but later on when installing) |
28 |
+SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE) |
29 |
+ |
30 |
+# add the automatically determined parts of the RPATH |
31 |
+# which point to directories outside the build tree to the install RPATH |
32 |
+SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) |
33 |
|
34 |
diff --git a/dev-python/shiboken/shiboken-9999.ebuild b/dev-python/shiboken/shiboken-9999.ebuild |
35 |
index f078161..b882d41 100644 |
36 |
--- a/dev-python/shiboken/shiboken-9999.ebuild |
37 |
+++ b/dev-python/shiboken/shiboken-9999.ebuild |
38 |
@@ -33,13 +33,18 @@ DEPEND="${RDEPEND} |
39 |
>=x11-libs/qt-test-4.7.0:4 |
40 |
)" |
41 |
|
42 |
-S=${WORKDIR}/${PN} |
43 |
- |
44 |
src_prepare() { |
45 |
# Fix inconsistent naming of libshiboken.so and ShibokenConfig.cmake, |
46 |
# caused by the usage of a different version suffix with python >= 3.2 |
47 |
sed -i -e "/get_config_var('SOABI')/d" \ |
48 |
cmake/Modules/FindPython3InterpWithDebug.cmake || die |
49 |
+ |
50 |
+ if use prefix; then |
51 |
+ cp "${FILESDIR}"/rpath.cmake . |
52 |
+ sed \ |
53 |
+ -i '1iinclude(rpath.cmake)' \ |
54 |
+ CMakeLists.txt || die |
55 |
+ fi |
56 |
} |
57 |
|
58 |
src_configure() { |