summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
Diffstat (limited to 'network')
-rw-r--r--network/newsboat/newsboat.SlackBuild2
-rw-r--r--network/suricata/suricata.SlackBuild2
2 files changed, 4 insertions, 0 deletions
diff --git a/network/newsboat/newsboat.SlackBuild b/network/newsboat/newsboat.SlackBuild
index 88f3da4e35..12f830a059 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
diff --git a/network/suricata/suricata.SlackBuild b/network/suricata/suricata.SlackBuild
index 0cd133e2d7..a6b0f5e0f5 100644
--- a/network/suricata/suricata.SlackBuild
+++ b/network/suricata/suricata.SlackBuild
@@ -79,6 +79,8 @@ 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 {} \;
+export CARGO_HOME=.cargo
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \