mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 03:23:20 -04:00
dev-libs/unordered_dense: use patch to fix cmake install path
Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
@@ -28,6 +28,10 @@ DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.0.0-fix-cmake-install-path.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-D CMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)"
|
||||
@@ -35,11 +39,3 @@ src_configure() {
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
# fix cmake module file install path
|
||||
mkdir -p "${D}"/usr/"$(get_libdir)"/cmake/"${PN}" || die
|
||||
mv "${D}"/usr/share/${PN}/cmake/* "${D}"/usr/"$(get_libdir)"/cmake/"${PN}"/ || die
|
||||
rm -r "${D}"/usr/share/${PN} || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user