sys-block/thin-provisioning-tools: define pkg_setup

Call both llvm-r1_pkg_setup and rust_pkg_setup.

Closes: https://bugs.gentoo.org/943280
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2024-11-11 17:07:21 +00:00
parent 92580958fe
commit 93a7eb9802
2 changed files with 10 additions and 0 deletions

View File

@@ -194,6 +194,11 @@ PATCHES=(
"${FILESDIR}/${PN}-1.0.6-build-with-cargo.patch"
)
pkg_setup() {
llvm-r1_pkg_setup
rust_pkg_setup
}
src_unpack() {
if [[ ${PV} == 9999 ]] ; then
git-r3_src_unpack

View File

@@ -201,6 +201,11 @@ PATCHES=(
"${FILESDIR}/${PN}-1.0.6-build-with-cargo.patch"
)
pkg_setup() {
llvm-r1_pkg_setup
rust_pkg_setup
}
src_unpack() {
if [[ ${PV} == 9999 ]] ; then
git-r3_src_unpack