summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2022-02-13 19:12:55 -0600
committerMatthias Maier <tamiko@gentoo.org>2022-02-13 19:15:07 -0600
commita09fcd6259de47d185403a72e4fb8ff53e947110 (patch)
tree6d8dcb332d778060b62e65891269c4c19a523843 /sci-libs
parentsci-libs/p4est: change to full version triplet (diff)
downloadgentoo-a09fcd6259de47d185403a72e4fb8ff53e947110.tar.gz
gentoo-a09fcd6259de47d185403a72e4fb8ff53e947110.tar.bz2
gentoo-a09fcd6259de47d185403a72e4fb8ff53e947110.zip
sci-libs/p4est: fix refactoring SNAFU
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/p4est/files/p4est-2.8.0-fix_build_system.patch (renamed from sci-libs/p4est/files/p4est-2.8-fix_build_system.patch)0
-rw-r--r--sci-libs/p4est/files/p4est-2.8.0-set_version.patch (renamed from sci-libs/p4est/files/p4est-2.8-set_version.patch)0
-rw-r--r--sci-libs/p4est/p4est-2.8.0-r1.ebuild3
3 files changed, 3 insertions, 0 deletions
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
index e1f86165d5f9..e1f86165d5f9 100644
--- 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
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
index b24f265f496b..b24f265f496b 100644
--- a/sci-libs/p4est/files/p4est-2.8-set_version.patch
+++ b/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"
}