diff --git a/sys-apps/pandora_box/pandora_box-0.12.0.ebuild b/sys-apps/pandora_box/pandora_box-0.12.0-r1.ebuild similarity index 94% rename from sys-apps/pandora_box/pandora_box-0.12.0.ebuild rename to sys-apps/pandora_box/pandora_box-0.12.0-r1.ebuild index ad0137ee8c7a9..75c2362b73f32 100644 --- a/sys-apps/pandora_box/pandora_box-0.12.0.ebuild +++ b/sys-apps/pandora_box/pandora_box-0.12.0-r1.ebuild @@ -7,6 +7,8 @@ EAPI=8 SYDVER=3.30.0 +IUSE="static" + CRATES=" ahash@0.8.11 argv@0.1.11 @@ -123,3 +125,10 @@ SLOT="0" KEYWORDS="~amd64" S=${WORKDIR}/syd-v${SYDVER}/pandora + +src_configure() { + if use static; then + export RUSTFLAGS+="-Ctarget-feature=+crt-static" + fi + cargo_src_configure +}