mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-util/pixi: Add rustls support
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -8,4 +8,7 @@
|
||||
<upstream>
|
||||
<remote-id type="github">prefix-dev/pixi</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="rustls">Use Rustls instead of OpenSSL.</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -81,12 +81,13 @@ LICENSE+="
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+rustls"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/bzip2:=
|
||||
app-arch/xz-utils:=
|
||||
app-arch/zstd:=
|
||||
dev-libs/openssl:=
|
||||
!rustls? ( dev-libs/openssl:= )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
@@ -103,7 +104,7 @@ src_prepare() {
|
||||
|
||||
src_configure() {
|
||||
local myfeatures=(
|
||||
native-tls
|
||||
$(usex rustls rustls-tls native-tls)
|
||||
)
|
||||
cargo_src_configure --no-default-features
|
||||
|
||||
|
||||
Reference in New Issue
Block a user