]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/commitdiff
rust 1.65 won't build if 'Cargo.toml.orig' is present in one of the crate files
authorMatthias Fischer <matthias.fischer@ipfire.org>
Thu, 1 Dec 2022 15:44:28 +0000 (16:44 +0100)
committerPeter Müller <peter.mueller@ipfire.org>
Thu, 26 Jan 2023 23:03:34 +0000 (23:03 +0000)
Please see the discussions about this patch series here:

https://lists.ipfire.org/pipermail/development/2022-November/014714.html

and here:

https://lists.ipfire.org/pipermail/development/2022-November/014887.html

During building 'rust 1.65', I always got:

...
error: invalid inclusion of reserved file name Cargo.toml.orig in
package source
...
[Build stops]

After a rather frustrating while, I decided to delete this file during building the particular crate file.

Fun! Building completed without errors.

For now, I added an appropriate if-statement in each crate file which contains 'Cargo.toml.orig'.
If 'Cargo-toml.orig' is present: delete it. Just throw it away.

It might be that there is a more elegant way to do this - if 'someone' has a better solution, please
submit an easier patch.

I searched a few days, but didn't find ANY clue what is going on here.

All I can say: building runs. No more errors or breaks. Nothing.

Please test and confirm.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
73 files changed:
lfs/rust-asn1
lfs/rust-asn1_derive
lfs/rust-autocfg
lfs/rust-base64
lfs/rust-block-buffer
lfs/rust-chrono
lfs/rust-cipher
lfs/rust-crossbeam-channel
lfs/rust-crossbeam-deque
lfs/rust-crossbeam-epoch
lfs/rust-crossbeam-utils
lfs/rust-crypto-common
lfs/rust-ctor
lfs/rust-digest
lfs/rust-dirs
lfs/rust-either
lfs/rust-ghost
lfs/rust-iana-time-zone
lfs/rust-indoc
lfs/rust-indoc-0.3.6
lfs/rust-indoc-impl
lfs/rust-instant
lfs/rust-inventory
lfs/rust-inventory-impl
lfs/rust-itoa
lfs/rust-lock_api
lfs/rust-log
lfs/rust-memoffset
lfs/rust-num-integer
lfs/rust-num-traits
lfs/rust-num_cpus
lfs/rust-once_cell
lfs/rust-ouroboros
lfs/rust-ouroboros_macro
lfs/rust-parking_lot
lfs/rust-parking_lot_core
lfs/rust-paste
lfs/rust-paste-0.1.18
lfs/rust-paste-impl
lfs/rust-pem
lfs/rust-pest
lfs/rust-ppv-lite86
lfs/rust-proc-macro-error
lfs/rust-proc-macro-error-attr
lfs/rust-proc-macro-hack
lfs/rust-pyo3
lfs/rust-pyo3-build-config
lfs/rust-pyo3-macros
lfs/rust-pyo3-macros-backend
lfs/rust-rand_chacha
lfs/rust-rand_core
lfs/rust-rand_core-0.3.1
lfs/rust-rand_core-0.4.2
lfs/rust-rand_hc
lfs/rust-rayon
lfs/rust-rayon-core
lfs/rust-rdrand
lfs/rust-regex
lfs/rust-regex-syntax
lfs/rust-ryu
lfs/rust-same-file
lfs/rust-scopeguard
lfs/rust-semver
lfs/rust-serde_json
lfs/rust-smallvec
lfs/rust-stable_deref_trait
lfs/rust-termcolor
lfs/rust-time
lfs/rust-toml
lfs/rust-toolchain_find
lfs/rust-ucd-trie
lfs/rust-unindent
lfs/rust-walkdir

index ba2b156a3399057e9b6b5adf28fb46e23667e618..d6781aa86a997f5f21104e95fe1b8ee8dc78929c 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 59a5c06d1a5ebb389283d2dbef0578d4cbd5bfd0..f43413695eddd183f7bdb0f43814bb4818dea9e1 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 1b4fda897d466926d72aa14dd6a3d04d007a51d2..453d005fccf87c5063eeda3b9ceb5a4dc6f8d38b 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 1b2d547c4b58c44a16217e7d38e9f28d306fa98d..65838bd368a94d471dc98423c2e5f3db8ae7c152 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index b6d955e1577b7f038ec7fe7adf7c40c6d256c9d9..95ff7bed5ecb25c8c1e2bda098cde09dc34efbc0 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 35ab126a71ca9ebb10fd1d6cbc71da20229fa648..fbebbf8e1c0f22f704d99e8c5d6b96f57619bcd6 100644 (file)
@@ -74,6 +74,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/rust-chrono-0.4.22-fix-metadata.patch
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index d18adb67d609c7f54a1b7efa2d3dc51522a5f8fb..95dfb4b71e869a9c342b5d12e4fbc022594897ce 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 1361a24817194ce2de6cb550f8449ea7e2e2ed03..eb6fa1330d4aad76567068acfc9014baec27346e 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 139773f3080553302028439cf41e1fc865895100..31f111fb1a0653b931299839067d3141a938ef8b 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index b1bf8c153f0cb2fbc35e6cd198ba213aff7efc16..d4de6dff3100a63432d407d9879f27de1f010deb 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 4fd8ab200fe93d87e5d7549bf32b4a31d8b67e22..de9e5b2c7c797e716437d5302c312a1d996999a4 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 739b59a02819811697edbcdbda0e0cc685066035..659e6cc1340c23146ff80f287c734831a1d48af7 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP)&& if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index ff849a09620278bea93fcb4c390aa2adb4c5b7d4..ede27e32ece7a39d3572baaaecf6f9efea815b35 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index f6f38f025d6eb6db0acee3afc4ed12802b54d5c2..f522543f8c671c8746cef2c240b5e2b07bef3b7c 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 7540116f858a198048f25e6033a5240fa26f1f4c..33992e010a5fb64831176e7cd7353185add9bfbe 100644 (file)
@@ -74,6 +74,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/rust-dirs-1.0.5-fix-metadata.patch
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index b68acdc57187494af83074604fd9e55639fd8000..7c41592c303aa5a93aa16749a229f6de1de748f1 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 5437755e22235a10f9d0cde30f9584b5e055606c..b56ab62eae306e76b4d5c0a17f0efc79b3c152a1 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 8c7be37b0b54b38bb5a1e9128ea9d177200530cd..dc6778ee49d79afcfacd3f1fbb884db5ee33b96b 100644 (file)
@@ -74,6 +74,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/rust-iana-time-zone-0.1.51-fix-metadata.patch
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 9e1f7fb4122965d9b193de20517d6a09518a6dcb..ba2ac0055c364ed1f90add5e63c842a9bf9fcedd 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index d8eff0bf4c4f3b062fa575b212d88978fb5b623a..20bb7946cf450c55d9995a1564416ecf9fd74ab3 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index cf901177e882bcfdecc6e3f02c08094a81cc84c4..87786e0ca1798010065ae1fad730682cf3ef42ba 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index c8b32d0fb7383956a64edb5ff31e253a2c0e1642..7e0e14872ed9ce8727e15f496aa1a1b65bba5e8d 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index a8cab0de2ec687eccead02dd79d6791cb1d6e9e1..177ff94539208f4c1d7e14fef269bab7a8553cb1 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 9e08d3225489732f1ce09e24c70c4de851c99057..9bb8b9304c9b2a7ba357143a24d779ee459a826b 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 8d1758a0a7ced74ab37ae1bfd3609dea166d75f3..162c94474fc94a6f506f5d95f3167c0934389e3c 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 3bd18ea1c479d235c63279467e79d76b60a5c7ae..9561a6b6e57f7b3e32090d5dd2bcfdee97baf408 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index b3c975f01f057536fc2bf49a1b7c3a7ecc8f1efe..02f347047b4641f323f253cc244dcd1b1bb4dad8 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 4e3452e40dd207900569361df4d78ab133d6c4fc..b2e6780cc0680fd43ddfe5f66267839e844f904e 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 2fd539b193aac150d8d369656df0a269b3c41857..e4e47bb49b34bfe998de15876ce532ccf833ba1b 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index cf4438214522523cffff133e80e15dc77d8bb229..20c9c9b3df6ee18a4b082e8ae587a96ed6f769bc 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 91b62dece8c9824398e857de6a5b836444ab5270..c6c3d57ed78948f89d991fe3b0567cfe261003c1 100644 (file)
@@ -74,6 +74,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/rust-num_cpus-1.13.1-fix-metadata.patch
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 304073a310fd4449f14bed5951366490b5e99268..d6f86df063f9179a91db0093becc72494f617332 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 2c63b4c107e02f5aa0e3429a26649498766afbd7..c603807c546aa3fe12b5a819520e25decc7d2655 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 84fefc24460e98da64899c3c51b4a4fd5754d066..834bdfd5c328172a81b87669381a8bab1d679c4e 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 4ccbf63b964413a73a981fa817de5649d2c7ef58..d50323c91380ecee6d0aa61e9d31a3a89a5a266a 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index c017481d65afc2aca2af23e0c64f485a818d8e27..dde7645b2cdd54a8cef41a7074b6839c9d4a69f0 100644 (file)
@@ -74,6 +74,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/rust-parking_lot_core-0.8.5-fix-metadata.patch
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index ace7b4170f3e886b82980235ca19bcb5229be266..a24924b986f78294bcd8d6d26985b1474867d3f7 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 138d45ec9b0901511ca3fe4c95e608d0c8613ebc..c393b8ebc9719834f971a374d50652d03a9d1ff2 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index dbfe85d7c012e8778a1f66aa867c35857c28b545..1672887be2173bb24b93e94666eab6614b7f2fcb 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index dc44ca2b91bfcc77a8a2d5ad9124c71790653972..c57325e56509463e6f0224e030dc593d9afeb062 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 09ff012b9be0ddf8e1a288d44a7890ed304b4f25..d4761702a61142a0f13a1d5e62455a0ac103a71f 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index a1c48338ae299e7fd95dfb23d516835c52cd8567..e10a8eb216a1946c078e4783bd8f842700a10aa9 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 7260b3f93955248c00b2f3a606f706d153cd5354..f50b74a5498b456545e519dfbdec50ff0fccb789 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 37c76b170f21f2c34a7affe27c08ce07ce2437bd..12fa4e2b72a4bcefeabc6d48a8694cbb6d02a7aa 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index b4970a193adb846c50d13ff19558d24e981ca357..2ec9bb3ecfd66450d285dbd6f12145a5b8be6687 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index b8da7887d5559cefa16e26d627c68673c378d3fe..bea5f698b34cdd327a6584b26c93d33da817d2dd 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 54de323c0614ad26b3d3b94a68e57bb211211afa..a274c9803e4c88a9b76648061bc3eb1bb4d90b35 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index b64490dcdfbd90f715d2ef4b7394b4cdb7daa280..739389fc57720cf346c7c0d92f700e3ffba6ee13 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index af30b32ab7758d9a508fc6701a2b2a0f1b81961a..f5c2c428d957f0d64370e505dc8d6d334b3cb4e8 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 91aae604d2cbe42ea268f5d76681b068b0dde5a6..f037aef977ba66a23e1e55500428c9bfb15aa17e 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index c6073bf3e20b9b545a57d79536fc0edc946b4432..c2eed07f9ddd5cad917e4cd00cf2c8191f7b992d 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 0491a81d555c1e2cbc672d8e5504f8e71a1e575a..673b6cf6e164266b8526eb7604502a4c27e7b92f 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 18b0b4bc80b75ada100b724fd844852a73936d1f..dc2f32826c268abd93ab158d28fd6ea2f351116c 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index ad6c61656307d0f943d6fb0be9e1182c72079bdb..f093348604132eaa1bc9bb8a93ff54c312db9db1 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index b9ca2d5d27c4aa63a0e887b2d370695741137733..b436be050ad9845800c7619ff6683cd6607fed39 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index f87842eb724e8251f041141bdc337090998687f9..0331e101e5dc72f44da8185ef8f32295e845e6bb 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 0ccaea7a63125e3e389ea65162828ce0b1e4dbbf..40acf8b753b7a4ba67e5a4a6c3bda97c31e3cca0 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index bba67af819607a7ea886bd197421aa0de1f57d98..f7c30058a4590a1f9861bab9310e6d9c205c563c 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 501e5bf4daab8dcf792137cbc06952484b698d70..9cb409f7eb1775b78fc526effa3dd82025364183 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 7faec1aa6eb3127ceb6c8dc9ba05b015d17a4a9f..34b09698e6a1a8d4cccf656e8177dd8f1fbf7046 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index aa09b14ea4b8718f4402b89b57d449c3615d6b21..8cf29a34af477c0354f9b1e8882b8ed91e41e705 100644 (file)
@@ -74,6 +74,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/rust-same-file-1.0.6-fix-metadata.patch
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index b1e1f94786f157f16e9db2e0057934cdcdd37bab..0b0f66e46e9d1144b80bdc493e9bfab3c96d620d 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 5e702e0219466dc28b999c17411b863bce113346..04fb355ffa54649ba8e007a5cea1d963c7a25e8d 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 95d837e526e848ac400d9f91da6b19415bc318ad..9549d0894294334dc2103a3c964e0dd6b6fc47e9 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 92b8348878e0e8238cca2183680defc7fa0fadcd..1f509b266e3b2fa60043fec2d3852375146c5efc 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 9030d3bf236f335b8e50c18b01cb773f95797280..846e7a88f6e7b37a7428f678d055e136fcf050a6 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index bb85af933f3be71852337a2198e0664fc306a019..f68b8521cb01eb47c97a7969908869f4678b4c07 100644 (file)
@@ -74,6 +74,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/rust-termcolor-1.1.2-fix-metadata.patch
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 2ea396c796f0ce9657a234b7e2bb224f83854525..372334cb34408f0579b88c1edb5a0fe0769a244c 100644 (file)
@@ -74,6 +74,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/rust-time-0.1.43-fix-metadata.patch
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index a6f7a51572d61b0a5df86d73520fabe93e466ce3..1ba546b8bb79d703aa347bc0a392f06f8dbfe6b5 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index e1e079cdee219305926286b3c828b37faf37c230..bf8baebd553f788438ac1b6ef8240aa834c0703e 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 12356cf38f629614f419f6e7c886fea18942558b..99de1537c0e99aca01264d9e68344dac12e41b86 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index 5b7e3c1929c7db9bcb33a21c4ff79fe09aad4002..501bc60d8671329693a14d97e83b023ea4b7a00c 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)
index be8cef684e49b30eb6d33ffa70c66bb225a2673d..faa0c74834f29a5d936f8bba3cd02e3cf2b571ab 100644 (file)
@@ -74,6 +74,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/rust-walkdir-2.3.2-fix-metadata.patch
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)