diff options
-rw-r--r-- | desktop/bukubrow/bukubrow.SlackBuild | 1 | ||||
-rw-r--r-- | development/mdbook/mdbook.SlackBuild | 1 | ||||
-rw-r--r-- | development/racer/racer.SlackBuild | 1 | ||||
-rw-r--r-- | development/rustup/rustup.SlackBuild | 1 | ||||
-rw-r--r-- | gis/whitebox-tools/whitebox-tools.SlackBuild | 1 | ||||
-rw-r--r-- | network/newsboat/newsboat.SlackBuild | 2 | ||||
-rw-r--r-- | network/suricata/suricata.SlackBuild | 2 | ||||
-rw-r--r-- | python/cryptography/cryptography.SlackBuild | 2 | ||||
-rw-r--r-- | system/alacritty/alacritty.SlackBuild | 1 | ||||
-rw-r--r-- | system/bat/bat.SlackBuild | 1 | ||||
-rw-r--r-- | system/dust/dust.SlackBuild | 1 | ||||
-rw-r--r-- | system/exa/exa.SlackBuild | 1 | ||||
-rw-r--r-- | system/fd/fd.SlackBuild | 1 | ||||
-rw-r--r-- | system/ripgrep/ripgrep.SlackBuild | 1 | ||||
-rw-r--r-- | system/skim/skim.SlackBuild | 1 | ||||
-rw-r--r-- | system/system76-power/system76-power.SlackBuild | 2 | ||||
-rw-r--r-- | system/vtcol/vtcol.SlackBuild | 1 |
17 files changed, 21 insertions, 0 deletions
diff --git a/desktop/bukubrow/bukubrow.SlackBuild b/desktop/bukubrow/bukubrow.SlackBuild index 667f961181ad5..33e5e0ff98da8 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 694fc700d63ae..ff36c86dcfef6 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 3efa0fdb48a3a..2c15161b86521 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 2ab33f0d2ce57..1a663702b712b 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 0f190cc24fb86..4648b0d44f5a5 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 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 diff --git a/network/suricata/suricata.SlackBuild b/network/suricata/suricata.SlackBuild index 0cd133e2d7eda..a6b0f5e0f58cd 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 7fa20362b6f33..19eddb1eab3b3 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 48117cec732a4..e0b7188047844 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 7d1ec4ac0c2be..fc88360797a48 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 9ec1f77fbbfb6..940e34aa0c9de 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 80865ff74ccaf..89bbaded440ee 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 c1e592f39c857..19a205a4366f5 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 6318a2769065e..879ed3e8f4f63 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 b9cd09e8fe413..3da29929f28ef 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 cc0c7b50ec993..7ce0ed7226e22 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 7f4372148aecf..3e476155dc2b2 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 |