summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2017-09-07 09:44:00 -0400
committerCraig Andrews <candrews@gentoo.org>2017-09-07 09:44:16 -0400
commit41b1bcdf315fb667b5cade38d0f3f7392f199cd2 (patch)
tree9d57d22a0cd2cf27fdd3dba940a08d7bac28f2d9 /dev-cpp
parentsys-auth/google-authenticator: bump to 1.04, update -9999, EAPI=6 (diff)
downloadgentoo-41b1bcdf315fb667b5cade38d0f3f7392f199cd2.tar.gz
gentoo-41b1bcdf315fb667b5cade38d0f3f7392f199cd2.tar.bz2
gentoo-41b1bcdf315fb667b5cade38d0f3f7392f199cd2.zip
dev-cpp/waylandpp: -9999 use newly added LIBDIR option
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/waylandpp/waylandpp-9999.ebuild9
1 files changed, 2 insertions, 7 deletions
diff --git a/dev-cpp/waylandpp/waylandpp-9999.ebuild b/dev-cpp/waylandpp/waylandpp-9999.ebuild
index 4b36e9aea8e..1dd04bc09c5 100644
--- a/dev-cpp/waylandpp/waylandpp-9999.ebuild
+++ b/dev-cpp/waylandpp/waylandpp-9999.ebuild
@@ -31,20 +31,15 @@ DEPEND="${RDEPEND}
)
"
-src_prepare() {
- default
- sed -i -e "s:\$\${prefix}/lib:$\${prefix}/$(get_libdir):" -e "s:os.path.join(root, prefix, \"lib\":os.path.join(root, prefix, \"$(get_libdir)\":g" SConstruct || die
-}
-
src_compile() {
- CC="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" ROOT="${D%/}/" PREFIX="/usr" escons
+ CC="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" ROOT="${D%/}/" PREFIX="/usr" LIBDIR="$(get_libdir)" escons
if use doc; then
doxygen || die "error making docs"
fi
}
src_install() {
- CC="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" ROOT="${D%/}/" PREFIX="/usr" escons install
+ CC="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" ROOT="${D%/}/" PREFIX="/usr" LIBDIR="$(get_libdir)" escons install
# fix multilib-strict QA failures
if use doc; then
doman doc/man/man3/*.3