diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2020-04-04 15:40:38 +0800 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2020-04-04 15:40:38 +0800 |
commit | 5ed34ceab63579c7ad42f6e5b128f6462ee02878 (patch) | |
tree | 31e233e244eb7f43fb3adcfa0b668efc3764cf31 /Mk/Uses | |
parent | 373e08f8b3e2fc21a3f87de0bfac36cdd7e2ea5d (diff) | |
download | freebsd-ports-gnome-5ed34ceab63579c7ad42f6e5b128f6462ee02878.tar.gz freebsd-ports-gnome-5ed34ceab63579c7ad42f6e5b128f6462ee02878.tar.zst freebsd-ports-gnome-5ed34ceab63579c7ad42f6e5b128f6462ee02878.zip |
Mk/Uses/cargo.mk: Add a warning about the openssl-src crate
PR: 245337
Diffstat (limited to 'Mk/Uses')
-rw-r--r-- | Mk/Uses/cargo.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/Uses/cargo.mk b/Mk/Uses/cargo.mk index 56f352b93feb..88d95ff466cf 100644 --- a/Mk/Uses/cargo.mk +++ b/Mk/Uses/cargo.mk @@ -187,6 +187,10 @@ DEV_WARNING+= "CARGO_CRATES=openssl-0.10.3 or older do not support OpenSSL 1.1.1 .undef _openssl_VER .endif +.if ${CARGO_CRATES:Mopenssl-src-[0-9]*} +DEV_WARNING+= "Please make sure this port uses the system OpenSSL and consider removing CARGO_CRATES=${CARGO_CRATES:Mopenssl-src-[0-9]*} (a vendored copy of OpenSSL) from the build, e.g., by patching Cargo.toml appropriately." +.endif + .if ${CARGO_CRATES:Mopenssl-sys-[0-9]*} # Make sure that openssl-sys can find the correct version of OpenSSL CARGO_ENV+= OPENSSL_LIB_DIR=${OPENSSLLIB} \ |