summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/waylandpp/waylandpp-9999.ebuild')
-rw-r--r--dev-cpp/waylandpp/waylandpp-9999.ebuild5
1 files changed, 5 insertions, 0 deletions
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