commit: 9c74d13ea11ffa3c5ecb4590f9b4de25dfedd5d2 Author: Craig Andrews <candrews <AT> gentoo <DOT> org> AuthorDate: Mon Aug 28 02:50:28 2017 +0000 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> CommitDate: Mon Aug 28 02:50:28 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c74d13e
dev-cpp/waylandpp: Fix multilib-strict workaround on non-multilib systems Gentoo-bug: 629110 Package-Manager: Portage-2.3.8, Repoman-2.3.3 dev-cpp/waylandpp/waylandpp-0.1.0.ebuild | 5 +++++ dev-cpp/waylandpp/waylandpp-9999.ebuild | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/dev-cpp/waylandpp/waylandpp-0.1.0.ebuild b/dev-cpp/waylandpp/waylandpp-0.1.0.ebuild index 846643b6113..ec39b8bc686 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 846643b6113..ec39b8bc686 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