From 41b1bcdf315fb667b5cade38d0f3f7392f199cd2 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Thu, 7 Sep 2017 09:44:00 -0400 Subject: dev-cpp/waylandpp: -9999 use newly added LIBDIR option Package-Manager: Portage-2.3.8, Repoman-2.3.3 --- dev-cpp/waylandpp/waylandpp-9999.ebuild | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'dev-cpp/waylandpp') diff --git a/dev-cpp/waylandpp/waylandpp-9999.ebuild b/dev-cpp/waylandpp/waylandpp-9999.ebuild index 4b36e9aea8e8..1dd04bc09c5a 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 -- cgit v1.2.3-65-gdbad