dev-cpp/waylandpp: Fix multilib-strict workaround on non-multilib systems
authorCraig Andrews <candrews@gentoo.org>
Mon, 28 Aug 2017 02:50:28 +0000 (22:50 -0400)
committerCraig Andrews <candrews@gentoo.org>
Mon, 28 Aug 2017 02:50:28 +0000 (22:50 -0400)
Gentoo-bug: 629110
Package-Manager: Portage-2.3.8, Repoman-2.3.3

dev-cpp/waylandpp/waylandpp-0.1.0.ebuild
dev-cpp/waylandpp/waylandpp-9999.ebuild

index 846643b6113cd3f0ca74ecf06353ab468d086045..ec39b8bc68694951a59ee9728ad032a98bf8f7da 100644 (file)
@@ -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
index 846643b6113cd3f0ca74ecf06353ab468d086045..ec39b8bc68694951a59ee9728ad032a98bf8f7da 100644 (file)
@@ -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