summaryrefslogtreecommitdiffstats
path: root/system/ripgrep
diff options
context:
space:
mode:
author K. Eugene Carlson2022-03-09 16:38:18 +0100
committer Willy Sudiarto Raharjo2022-03-10 06:40:15 +0100
commit479ac84af0a5c0b7e689544581769af0b7b90f8b (patch)
tree9a9c7c99778d45ec44b3c03de1d4ada7b90709e7 /system/ripgrep
parent290b94f8ea8647cffbc4230bc24249598128f924 (diff)
downloadslackbuilds-479ac84af0a5c0b7e689544581769af0b7b90f8b.tar.gz
git/cargo: avoid writing to $HOME/.cargo
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/ripgrep')
-rw-r--r--system/ripgrep/ripgrep.SlackBuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/ripgrep/ripgrep.SlackBuild b/system/ripgrep/ripgrep.SlackBuild
index 6318a27690..879ed3e8f4 100644
--- a/system/ripgrep/ripgrep.SlackBuild
+++ b/system/ripgrep/ripgrep.SlackBuild
@@ -141,6 +141,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+CARGO_HOME=.cargo \
PCRE2_SYS_STATIC=0 \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \