aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/bukubrow/bukubrow.SlackBuild1
-rw-r--r--development/mdbook/mdbook.SlackBuild1
-rw-r--r--development/racer/racer.SlackBuild1
-rw-r--r--development/rustup/rustup.SlackBuild1
-rw-r--r--gis/whitebox-tools/whitebox-tools.SlackBuild1
-rw-r--r--network/newsboat/newsboat.SlackBuild2
-rw-r--r--network/suricata/suricata.SlackBuild2
-rw-r--r--python/cryptography/cryptography.SlackBuild2
-rw-r--r--system/alacritty/alacritty.SlackBuild1
-rw-r--r--system/bat/bat.SlackBuild1
-rw-r--r--system/dust/dust.SlackBuild1
-rw-r--r--system/exa/exa.SlackBuild1
-rw-r--r--system/fd/fd.SlackBuild1
-rw-r--r--system/ripgrep/ripgrep.SlackBuild1
-rw-r--r--system/skim/skim.SlackBuild1
-rw-r--r--system/system76-power/system76-power.SlackBuild2
-rw-r--r--system/vtcol/vtcol.SlackBuild1
17 files changed, 21 insertions, 0 deletions
diff --git a/desktop/bukubrow/bukubrow.SlackBuild b/desktop/bukubrow/bukubrow.SlackBuild
index 667f961181ad..33e5e0ff98da 100644
--- a/desktop/bukubrow/bukubrow.SlackBuild
+++ b/desktop/bukubrow/bukubrow.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 \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
cargo build --release $CARGOTARGET
diff --git a/development/mdbook/mdbook.SlackBuild b/development/mdbook/mdbook.SlackBuild
index 694fc700d63a..ff36c86dcfef 100644
--- a/development/mdbook/mdbook.SlackBuild
+++ b/development/mdbook/mdbook.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 \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
cargo build --release $CARGOTARGET
diff --git a/development/racer/racer.SlackBuild b/development/racer/racer.SlackBuild
index 3efa0fdb48a3..2c15161b8652 100644
--- a/development/racer/racer.SlackBuild
+++ b/development/racer/racer.SlackBuild
@@ -153,6 +153,7 @@ if ! rustup toolchain list | grep "$RUST_NIGHTLY" > /dev/null 2>&1 ; then
fi
PATH="$(pwd)/rustup-bin:$PATH" \
+CARGO_HOME=.cargo \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
rustup run "$RUST_NIGHTLY" cargo build --release $CARGOTARGET
diff --git a/development/rustup/rustup.SlackBuild b/development/rustup/rustup.SlackBuild
index 2ab33f0d2ce5..1a663702b712 100644
--- a/development/rustup/rustup.SlackBuild
+++ b/development/rustup/rustup.SlackBuild
@@ -147,6 +147,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 \
cargo build --release --features no-self-update $CARGOTARGET
mkdir -p $PKG/usr/bin/
diff --git a/gis/whitebox-tools/whitebox-tools.SlackBuild b/gis/whitebox-tools/whitebox-tools.SlackBuild
index 0f190cc24fb8..4648b0d44f5a 100644
--- a/gis/whitebox-tools/whitebox-tools.SlackBuild
+++ b/gis/whitebox-tools/whitebox-tools.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 \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
cargo build --offline --release $CARGOTARGET
diff --git a/network/newsboat/newsboat.SlackBuild b/network/newsboat/newsboat.SlackBuild
index 88f3da4e3522..12f830a05989 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 0cd133e2d7ed..a6b0f5e0f58c 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 \
diff --git a/python/cryptography/cryptography.SlackBuild b/python/cryptography/cryptography.SlackBuild
index 7fa20362b6f3..19eddb1eab3b 100644
--- a/python/cryptography/cryptography.SlackBuild
+++ b/python/cryptography/cryptography.SlackBuild
@@ -131,6 +131,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
+
sed -i '/install_requires/d' setup.py
python3 setup.py install --root=$PKG
diff --git a/system/alacritty/alacritty.SlackBuild b/system/alacritty/alacritty.SlackBuild
index 48117cec732a..e0b718804784 100644
--- a/system/alacritty/alacritty.SlackBuild
+++ b/system/alacritty/alacritty.SlackBuild
@@ -142,6 +142,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 \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
cargo build --release $CARGOTARGET
diff --git a/system/bat/bat.SlackBuild b/system/bat/bat.SlackBuild
index 7d1ec4ac0c2b..fc88360797a4 100644
--- a/system/bat/bat.SlackBuild
+++ b/system/bat/bat.SlackBuild
@@ -155,6 +155,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 \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
cargo build --offline --release $CARGOTARGET
diff --git a/system/dust/dust.SlackBuild b/system/dust/dust.SlackBuild
index 9ec1f77fbbfb..940e34aa0c9d 100644
--- a/system/dust/dust.SlackBuild
+++ b/system/dust/dust.SlackBuild
@@ -155,6 +155,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 \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
cargo build --offline --release $CARGOTARGET
diff --git a/system/exa/exa.SlackBuild b/system/exa/exa.SlackBuild
index 80865ff74cca..89bbaded440e 100644
--- a/system/exa/exa.SlackBuild
+++ b/system/exa/exa.SlackBuild
@@ -140,6 +140,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 \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
cargo build --release $CARGOTARGET
diff --git a/system/fd/fd.SlackBuild b/system/fd/fd.SlackBuild
index c1e592f39c85..19a205a4366f 100644
--- a/system/fd/fd.SlackBuild
+++ b/system/fd/fd.SlackBuild
@@ -140,6 +140,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 \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
cargo build --release $CARGOTARGET
diff --git a/system/ripgrep/ripgrep.SlackBuild b/system/ripgrep/ripgrep.SlackBuild
index 6318a2769065..879ed3e8f4f6 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" \
diff --git a/system/skim/skim.SlackBuild b/system/skim/skim.SlackBuild
index b9cd09e8fe41..3da29929f28e 100644
--- a/system/skim/skim.SlackBuild
+++ b/system/skim/skim.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 \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
cargo build --offline --release $CARGOTARGET
diff --git a/system/system76-power/system76-power.SlackBuild b/system/system76-power/system76-power.SlackBuild
index cc0c7b50ec99..7ce0ed7226e2 100644
--- a/system/system76-power/system76-power.SlackBuild
+++ b/system/system76-power/system76-power.SlackBuild
@@ -171,6 +171,8 @@ find -L . \
# Prevent syslog messasge 'Unknown group "sudo" in message bus configuration file'.
patch -p1 < $CWD/fix_groups.patch
+export CARGO_HOME=.cargo
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
make
diff --git a/system/vtcol/vtcol.SlackBuild b/system/vtcol/vtcol.SlackBuild
index 7f4372148aec..3e476155dc2b 100644
--- a/system/vtcol/vtcol.SlackBuild
+++ b/system/vtcol/vtcol.SlackBuild
@@ -140,6 +140,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 \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
cargo build --release $CARGOTARGET