From a00edc46078dfe1e74c306ddf9f0e893e9eb71b1 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sun, 15 Oct 2017 20:02:31 -0700 Subject: sci-libs/libgeodecomp: [QA] Add cmake-utils_src_prepare Package-Manager: Portage-2.3.11, Repoman-2.3.3 --- sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sci-libs/libgeodecomp') diff --git a/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild b/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild index 095cf09eafa5..739df1ee915c 100644 --- a/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild +++ b/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild @@ -20,9 +20,11 @@ DEPEND="${RDEPEND} examples? ( !sys-cluster/mpich2 )" S="${WORKDIR}/${P}/src" +PATCHES=( "${FILESDIR}/libflatarray.patch" ) src_prepare() { - epatch "${FILESDIR}/libflatarray.patch" + cmake-utils_src_prepare + 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" -- cgit v1.2.3-65-gdbad