1 |
commit: 9c74d13ea11ffa3c5ecb4590f9b4de25dfedd5d2 |
2 |
Author: Craig Andrews <candrews <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 28 02:50:28 2017 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 28 02:50:28 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c74d13e |
7 |
|
8 |
dev-cpp/waylandpp: Fix multilib-strict workaround on non-multilib systems |
9 |
|
10 |
Gentoo-bug: 629110 |
11 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
12 |
|
13 |
dev-cpp/waylandpp/waylandpp-0.1.0.ebuild | 5 +++++ |
14 |
dev-cpp/waylandpp/waylandpp-9999.ebuild | 5 +++++ |
15 |
2 files changed, 10 insertions(+) |
16 |
|
17 |
diff --git a/dev-cpp/waylandpp/waylandpp-0.1.0.ebuild b/dev-cpp/waylandpp/waylandpp-0.1.0.ebuild |
18 |
index 846643b6113..ec39b8bc686 100644 |
19 |
--- a/dev-cpp/waylandpp/waylandpp-0.1.0.ebuild |
20 |
+++ b/dev-cpp/waylandpp/waylandpp-0.1.0.ebuild |
21 |
@@ -31,6 +31,11 @@ DEPEND="${RDEPEND} |
22 |
) |
23 |
" |
24 |
|
25 |
+src_prepare() { |
26 |
+ default |
27 |
+ sed -i -e "s:\$\${prefix}/lib:/usr/$(get_libdir):" SConstruct || die |
28 |
+} |
29 |
+ |
30 |
src_compile() { |
31 |
CC="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" PREFIX="${D%/}/usr" escons |
32 |
if use doc; then |
33 |
|
34 |
diff --git a/dev-cpp/waylandpp/waylandpp-9999.ebuild b/dev-cpp/waylandpp/waylandpp-9999.ebuild |
35 |
index 846643b6113..ec39b8bc686 100644 |
36 |
--- a/dev-cpp/waylandpp/waylandpp-9999.ebuild |
37 |
+++ b/dev-cpp/waylandpp/waylandpp-9999.ebuild |
38 |
@@ -31,6 +31,11 @@ DEPEND="${RDEPEND} |
39 |
) |
40 |
" |
41 |
|
42 |
+src_prepare() { |
43 |
+ default |
44 |
+ sed -i -e "s:\$\${prefix}/lib:/usr/$(get_libdir):" SConstruct || die |
45 |
+} |
46 |
+ |
47 |
src_compile() { |
48 |
CC="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" PREFIX="${D%/}/usr" escons |
49 |
if use doc; then |