Subject: nettle-sys: clear out "vendored" feature cruft from build.rs From: Daniel Kahn Gillmor's avatarDaniel Kahn Gillmor https://salsa.debian.org/rust-team/debcargo-conf/-/commit/0c71150ad26bb66a8396dcdab055181af232ddc5 https://sources.debian.org/src/rust-nettle-sys/2.0.4-3/debian/patches/disable-vendor.diff/ --- a/Cargo.toml 2019-10-23 13:08:07.000000000 -0400 +++ b/Cargo.toml 2019-10-23 14:08:46.644064014 -0400 @@ -29,12 +29,9 @@ version = "0.51.1" default-features = false -[build-dependencies.nettle-src] -version = "3.5.1-0" -optional = true - [build-dependencies.pkg-config] version = "0.3" [features] vendored = ["nettle-src"] +nettle-src = [] diff --git a/build.rs b/build.rs index 44f7af3..ede4b2f 100644 --- a/build.rs +++ b/build.rs @@ -1,7 +1,5 @@ extern crate bindgen; extern crate pkg_config; -#[cfg(feature = "vendored")] -extern crate nettle_src; use std::env; use std::fs; @@ -36,14 +34,6 @@ fn main() { println!("cargo:rerun-if-env-changed=NETTLE_STATIC"); println!("cargo:rerun-if-env-changed={}", NETTLE_PREGENERATED_BINDINGS); - #[cfg(feature = "vendored")] - { - let artifacts = nettle_src::Build::new().build(); - println!("cargo:vendored=1"); - env::set_var("PKG_CONFIG_PATH", - artifacts.lib_dir().join("pkgconfig")); - } - let nettle = pkg_config::probe_library("nettle hogweed").unwrap(); let mode = match env::var_os("NETTLE_STATIC") { 051945ab08030169228556cc2a4a'>diff
path: root/gnu/packages/ld-wrapper.in
AgeCommit message (Expand)Author
2020-09-25gnu: ld-wrapper: Unset 'GUILE_SYSTEM_COMPILED_PATH'....'GUILE_SYSTEM_COMPILED_PATH' is set by guile-bootstrap@2.0. Unsetting it ensures it does not interfere. * gnu/packages/ld-wrapper.in: Unset GUILE_SYSTEM_COMPILED_PATH. Ludovic Courtès
2020-03-05gnu: ld-wrapper: Add support for quoted arguments in response files....* gnu/packages/ld-wrapper.in (expand-arguments): Add TOKENIZE procedure, and use that to parse the response file. Marius Bakke
2018-03-29ld-wrapper: Allow linking with non-store libraries by default....This was suggested on several occasions, notably <https://bugs.gnu.org/24544>. * gnu/packages/ld-wrapper.in (%allow-impurities?): Default to #t and parse the value of 'GUIX_LD_WRAPPER_ALLOW_IMPURITIES'. * guix/build/gnu-build-system.scm (set-paths): Set 'GUIX_LD_WRAPPER_ALLOW_IMPURITIES'. Ludovic Courtès
2018-03-29ld-wrapper: Don't talk about "impure library"....* gnu/packages/ld-wrapper.in (rpath-arguments): Clarify message instead of saying "impure library". Ludovic Courtès
2018-03-29ld-wrapper: Make sure debugging output goes through....* gnu/packages/ld-wrapper.in (ld-wrapper): Add call to 'force-output'. Ludovic Courtès
2017-05-25ld-wrapper: Read arguments from "response files"....Fixes <http://bugs.gnu.org/25882>. Reported by Federico Beffa <beffa@fbengineering.ch>. * gnu/packages/ld-wrapper.in (expand-arguments): New procedure. (ld-wrapper): Use it. Ludovic Courtès