diff options
Diffstat (limited to 'feroxbuster/feroxbuster.SlackBuild')
| -rw-r--r-- | feroxbuster/feroxbuster.SlackBuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/feroxbuster/feroxbuster.SlackBuild b/feroxbuster/feroxbuster.SlackBuild index 036dc21..fa3e812 100644 --- a/feroxbuster/feroxbuster.SlackBuild +++ b/feroxbuster/feroxbuster.SlackBuild @@ -99,6 +99,14 @@ directory = "vendor" offline = true EOF +# On Slackware -stable the system cargo is too old to read the v4 +# Cargo.lock, so we build against rust-opt (installs under /opt). Source +# its profile script to put the newer cargo first on PATH. On -current +# the system rust is new enough and this file simply won't exist. +if [ -r /etc/profile.d/rust-opt.sh ]; then + . /etc/profile.d/rust-opt.sh +fi + # Build release binary fully offline against the vendored crates. # --locked guarantees Cargo.lock is honored and never rewritten. export CARGO_HOME="$TMP/$PRGNAM-$VERSION/.cargo" |
