sys-fs/sandboxfs: adjust for cargo_src_configure

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
This commit is contained in:
Georgy Yakovlev
2020-09-22 22:23:22 -07:00
parent 0656f27093
commit 701f78b437

View File

@@ -97,18 +97,13 @@ QA_FLAGS_IGNORED="/usr/bin/sandboxfs"
S="${WORKDIR}/${PN}-${P}"
src_configure() {
myfeatures=(
$(usex profile profiling '')
)
}
src_compile() {
cargo_src_compile ${myfeatures:+--features "${myfeatures[*]}"}
local myfeatures=( $(usex profile profiling '') )
cargo_src_configure
}
src_install() {
mv man _man || die
cargo_src_install ${myfeatures:+--features "${myfeatures[*]}"}
cargo_src_install
doman _man/"${PN}.1"
einstalldocs
}