commit:     a09fcd6259de47d185403a72e4fb8ff53e947110
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 14 01:12:55 2022 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Feb 14 01:15:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a09fcd62

sci-libs/p4est: fix refactoring SNAFU

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 ...t-2.8-fix_build_system.patch => p4est-2.8.0-fix_build_system.patch} | 0
 .../{p4est-2.8-set_version.patch => p4est-2.8.0-set_version.patch}     | 0
 sci-libs/p4est/p4est-2.8.0-r1.ebuild                                   | 3 +++
 3 files changed, 3 insertions(+)

diff --git a/sci-libs/p4est/files/p4est-2.8-fix_build_system.patch 
b/sci-libs/p4est/files/p4est-2.8.0-fix_build_system.patch
similarity index 100%
rename from sci-libs/p4est/files/p4est-2.8-fix_build_system.patch
rename to sci-libs/p4est/files/p4est-2.8.0-fix_build_system.patch

diff --git a/sci-libs/p4est/files/p4est-2.8-set_version.patch 
b/sci-libs/p4est/files/p4est-2.8.0-set_version.patch
similarity index 100%
rename from sci-libs/p4est/files/p4est-2.8-set_version.patch
rename to sci-libs/p4est/files/p4est-2.8.0-set_version.patch

diff --git a/sci-libs/p4est/p4est-2.8.0-r1.ebuild 
b/sci-libs/p4est/p4est-2.8.0-r1.ebuild
index 9d3d4eb6fca4..2e803199a24b 100644
--- a/sci-libs/p4est/p4est-2.8.0-r1.ebuild
+++ b/sci-libs/p4est/p4est-2.8.0-r1.ebuild
@@ -40,6 +40,8 @@ PATCHES=(
        "${FILESDIR}"/${P}-set_version.patch
 )
 
+S="${WORKDIR}/${PN}-2.8"
+
 pkg_pretend() {
        [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 }
@@ -62,6 +64,7 @@ src_install() {
        cmake_src_install
 
        rm "${ED}"/usr/lib/cmake/Modules/FindSC.cmake || die "rm failed"
+       mkdir -p "${ED}"/usr/share/doc/${P}
        mv "${ED}"/usr/share/docs/P4EST/* "${ED}"/usr/share/doc/${P}/ || die 
"mv failed"
        rm -r "${ED}"/usr/share/docs || die "rm failed"
 }

Reply via email to