ports/opt (3.5): rust: fix if rust is broken on llvm dynamic or static fix
commit 1cf27473d39d1c81b8b518914edbebfd79155423 Author: Danny Rawlins <monster.romster@gmail.com> Date: Sun Apr 26 18:59:40 2020 +1000 rust: fix if rust is broken on llvm dynamic or static fix diff --git a/rust/.signature b/rust/.signature index 0f4b98efc..f922296f8 100644 --- a/rust/.signature +++ b/rust/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/WBbsEvy0bvPn/zPa1slK6Dlnl9wO/3/LGBKxTlgIkX4lsvZFn63gptpfGiwQJB9zrvG7m3HoPBFF7kcVnUbAQc= -SHA256 (Pkgfile) = aa42f8acfe74ef8e1c1b368d4794e53ccf39f74f56245c2090eb0b7aad161a71 +RWSE3ohX2g5d/fwKskuAmOrrnJSUr51a3nTApEmXs56rbCODgcDewIMGXPaSKpRpLHqh6jETLEzTL+iowstQDOsxImx6XHOKzQI= +SHA256 (Pkgfile) = 34239300aa53afc290ce07d525e657e495572fbd40bcc4578eddbcad1948763d SHA256 (.footprint) = 267150201a9d48fcf695983ad869396c9b65629d547a8fc63c513df68d0fb707 SHA256 (rustc-1.42.0-src.tar.xz) = aa5b4c0f2bac33cc26a11523fce9b0f120d2eff510ed148ae7c586501481ed04 SHA256 (rust-std-1.41.1-x86_64-unknown-linux-gnu.tar.xz) = 8e0d2ccfaaeec2e2007b3a605e2bf1dac2e2c82a8d4168bf4e81c9dd5374214e diff --git a/rust/Pkgfile b/rust/Pkgfile index 21a7179b5..270e7ee20 100644 --- a/rust/Pkgfile +++ b/rust/Pkgfile @@ -82,8 +82,8 @@ cat <<- EOF > $SRC/config.toml python = "python3" EOF # part of [build] options - if [ -e '/usr/bin/rustc' ]; then - if [ -z "$(/usr/bin/ldd /usr/bin/rustc | egrep '.*libLLVM-.*.so => not found')" ]; then + if [ -e '/usr/bin/rustc' ]; then + if [ -z "$(/usr/bin/ldd /usr/bin/rustc | egrep '.*libLLVM.*.so => not found')" ]; then cat <<- EOF >> $SRC/config.toml cargo = "/usr/bin/cargo" rustc = "/usr/bin/rustc"
participants (1)
-
crux@crux.nu