Bug report 629478
Package-Manager: Portage-2.3.8, Repoman-2.3.3
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
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