Changeset View
Changeset View
Standalone View
Standalone View
head/Mk/Uses/cargo.mk
Show First 20 Lines • Show All 178 Lines • ▼ Show 20 Lines | |||||
.undef _openssl_VER | .undef _openssl_VER | ||||
.endif | .endif | ||||
.if ${CARGO_CRATES:Mopenssl-sys-[0-9]*} | .if ${CARGO_CRATES:Mopenssl-sys-[0-9]*} | ||||
# Make sure that openssl-sys can find the correct version of OpenSSL | # Make sure that openssl-sys can find the correct version of OpenSSL | ||||
.include "${USESDIR}/ssl.mk" | .include "${USESDIR}/ssl.mk" | ||||
CARGO_ENV+= OPENSSL_LIB_DIR=${OPENSSLLIB} \ | CARGO_ENV+= OPENSSL_LIB_DIR=${OPENSSLLIB} \ | ||||
OPENSSL_INCLUDE_DIR=${OPENSSLINC} | OPENSSL_INCLUDE_DIR=${OPENSSLINC} | ||||
# Silence bogus QA warning about needing USES=ssl | |||||
QA_ENV+= USESSSL=yes | |||||
.endif | .endif | ||||
.if ${CARGO_CRATES:Mpkg-config-[0-9]*} | .if ${CARGO_CRATES:Mpkg-config-[0-9]*} | ||||
.include "${USESDIR}/pkgconfig.mk" | .include "${USESDIR}/pkgconfig.mk" | ||||
.endif | .endif | ||||
.if ${CARGO_CRATES:Mthrussh-libsodium-[0-9]*} | .if ${CARGO_CRATES:Mthrussh-libsodium-[0-9]*} | ||||
LIB_DEPENDS+= libsodium.so:security/libsodium | LIB_DEPENDS+= libsodium.so:security/libsodium | ||||
▲ Show 20 Lines • Show All 100 Lines • Show Last 20 Lines |