summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2017-08-27 22:50:28 -0400
committerCraig Andrews <candrews@gentoo.org>2017-08-27 22:50:28 -0400
commit9c74d13ea11ffa3c5ecb4590f9b4de25dfedd5d2 (patch)
tree5adaab13b73128e537fc28dea03870e05d9c177a /dev-cpp/waylandpp
parentmedia-tv/kodi: optional dependency on media-libs/lcms (diff)
downloadgentoo-9c74d13ea11ffa3c5ecb4590f9b4de25dfedd5d2.tar.gz
gentoo-9c74d13ea11ffa3c5ecb4590f9b4de25dfedd5d2.tar.bz2
gentoo-9c74d13ea11ffa3c5ecb4590f9b4de25dfedd5d2.zip
dev-cpp/waylandpp: Fix multilib-strict workaround on non-multilib systems
Gentoo-bug: 629110 Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-cpp/waylandpp')
-rw-r--r--dev-cpp/waylandpp/waylandpp-0.1.0.ebuild5
-rw-r--r--dev-cpp/waylandpp/waylandpp-9999.ebuild5
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-cpp/waylandpp/waylandpp-0.1.0.ebuild b/dev-cpp/waylandpp/waylandpp-0.1.0.ebuild
index 846643b6113c..ec39b8bc6869 100644
--- a/dev-cpp/waylandpp/waylandpp-0.1.0.ebuild
+++ b/dev-cpp/waylandpp/waylandpp-0.1.0.ebuild
@@ -31,6 +31,11 @@ DEPEND="${RDEPEND}
)
"
+src_prepare() {
+ default
+ sed -i -e "s:\$\${prefix}/lib:/usr/$(get_libdir):" SConstruct || die
+}
+
src_compile() {
CC="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" PREFIX="${D%/}/usr" escons
if use doc; then
diff --git a/dev-cpp/waylandpp/waylandpp-9999.ebuild b/dev-cpp/waylandpp/waylandpp-9999.ebuild
index 846643b6113c..ec39b8bc6869 100644
--- a/dev-cpp/waylandpp/waylandpp-9999.ebuild
+++ b/dev-cpp/waylandpp/waylandpp-9999.ebuild
@@ -31,6 +31,11 @@ DEPEND="${RDEPEND}
)
"
+src_prepare() {
+ default
+ sed -i -e "s:\$\${prefix}/lib:/usr/$(get_libdir):" SConstruct || die
+}
+
src_compile() {
CC="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" PREFIX="${D%/}/usr" escons
if use doc; then