aboutsummaryrefslogtreecommitdiff
path: root/network/newsboat/newsboat.SlackBuild
diff options
context:
space:
mode:
authorK. Eugene Carlson <kvngncrlsn@gmail.com>2022-03-10 00:38:18 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-10 12:40:15 +0700
commit479ac84af0a5c0b7e689544581769af0b7b90f8b (patch)
tree9a9c7c99778d45ec44b3c03de1d4ada7b90709e7 /network/newsboat/newsboat.SlackBuild
parent290b94f8ea8647cffbc4230bc24249598128f924 (diff)
git/cargo: avoid writing to $HOME/.cargo
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/newsboat/newsboat.SlackBuild')
-rw-r--r--network/newsboat/newsboat.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/network/newsboat/newsboat.SlackBuild b/network/newsboat/newsboat.SlackBuild
index 88f3da4e35225..12f830a05989e 100644
--- a/network/newsboat/newsboat.SlackBuild
+++ b/network/newsboat/newsboat.SlackBuild
@@ -146,6 +146,8 @@ if [ "$CARGOTARGET" != "" ] ; then
sed -i "s|target/release|target/$RELEASEDIR/release|" Makefile
fi
+export CARGO_HOME=.cargo
+
CXXFLAGS="$SLKCFLAGS" \
CARGO_FLAGS="$CARGOTARGET" \
make -j1 prefix=/usr