Created
April 21, 2016 11:37
-
-
Save zofrex/7a0d1cf0332f6be799f1399763f8ec2e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -eux | |
./bootstrap.py --crate-index=/home/zofrex/crates --target-dir=/home/zofrex/cargo-out --no-clone --no-clean --target x86_64-unknown-openbsd --download || true | |
sed -i"" -e 's/\(\[\[test\]\]\) /\1\ | |
/' ../cargo-out/url-0.5.9/Cargo.toml | |
sed -i -e 's/^\(miniz-sys.*\), optional = true/\1/' ../cargo-out/flate2-0.2.13/Cargo.toml | |
./bootstrap.py --crate-index=/home/zofrex/crates --target-dir=/home/zofrex/cargo-out --no-clone --no-clean --target x86_64-unknown-openbsd --download | |
sed -i -E -e 's/([^\/].*fs.*(remove_dir_all|create_dir_all).*)/\/\/\1/' ../cargo-out/libgit2-sys-0.4.2/build.rs | |
sed -i -E -e 's/([^\/].*fs.*(remove_dir_all|create_dir_all).*)/\/\/\1/' ../cargo-out/libgit2-sys-0.3.12/build.rs | |
sed -i"" -e 's/^rand.*version\([ ]*=[ ]*"[0-9.]*"\).*/rand\1/' ../cargo-out/uuid-0.2.0/Cargo.toml | |
./bootstrap.py --crate-index=/home/zofrex/crates --target-dir=/home/zofrex/cargo-out --no-clone --no-clean --target x86_64-unknown-openbsd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment