From ab53f947797c698fefc3a52f879015b47ba3b741 Mon Sep 17 00:00:00 2001 From: Slawomir Lis Date: Fri, 1 Sep 2017 09:54:03 +0200 Subject: sci-libs/libgeodecomp: fixed multilib-check Bug report 629478 Package-Manager: Portage-2.3.8, Repoman-2.3.3 --- sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild b/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild index 15b6687669b3..095cf09eafa5 100644 --- a/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild +++ b/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -23,6 +23,9 @@ S="${WORKDIR}/${P}/src" src_prepare() { epatch "${FILESDIR}/libflatarray.patch" + sed -i 's/libdir=${CMAKE_INSTALL_PREFIX}\/lib/libdir=\/usr\/'$(get_libdir)'/' "${S}/CMakeLists.txt" + sed -i 's/install(TARGETS geodecomp DESTINATION lib)/install(TARGETS geodecomp DESTINATION '$(get_libdir)')/' "${S}/CMakeLists.txt" + if ! use examples ; then sed -i 's/examples//g' CMakeLists.txt fi -- cgit v1.2.3-65-gdbad