Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 553526 Details for
Bug 609654
dev-lang/rust: Keyword request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix cargo-0.30.0.ebuild to work on any arch
cargo-0.30.0.ebuild.generic_arch.patch (text/plain), 2.25 KB, created by
Marcus Comstedt
on 2018-10-28 16:20:15 UTC
(
hide
)
Description:
Patch to fix cargo-0.30.0.ebuild to work on any arch
Filename:
MIME Type:
Creator:
Marcus Comstedt
Created:
2018-10-28 16:20:15 UTC
Size:
2.25 KB
patch
obsolete
>--- /usr/portage/dev-util/cargo/cargo-0.30.0.ebuild 2018-10-04 10:09:22.000000000 +0200 >+++ /usr/local/portage/dev-util/cargo/cargo-0.30.0.ebuild 2018-10-28 16:53:37.379401584 +0100 >@@ -139,7 +139,7 @@ > wincolor-1.0.1 > " > >-inherit cargo bash-completion-r1 multiprocessing versionator >+inherit cargo bash-completion-r1 multiprocessing versionator rust-toolchain > > BOOTSTRAP_VERSION="0.$(($(get_version_component_range 2) - 1)).0" > >@@ -147,20 +147,7 @@ > HOMEPAGE="http://crates.io" > SRC_URI="https://github.com/rust-lang/cargo/archive/${PV}.tar.gz -> ${P}.tar.gz > $(cargo_crate_uris ${CRATES}) >- x86? ( >- https://static.rust-lang.org/dist/cargo-${BOOTSTRAP_VERSION}-i686-unknown-linux-gnu.tar.xz >- ) >- amd64? ( >- https://static.rust-lang.org/dist/cargo-${BOOTSTRAP_VERSION}-x86_64-unknown-linux-gnu.tar.xz >- ) >- arm? ( >- https://static.rust-lang.org/dist/cargo-${BOOTSTRAP_VERSION}-arm-unknown-linux-gnueabi.tar.xz >- https://static.rust-lang.org/dist/cargo-${BOOTSTRAP_VERSION}-arm-unknown-linux-gnueabihf.tar.xz >- https://static.rust-lang.org/dist/cargo-${BOOTSTRAP_VERSION}-armv7-unknown-linux-gnueabihf.tar.xz >- ) >- arm64? ( >- https://static.rust-lang.org/dist/cargo-${BOOTSTRAP_VERSION}-aarch64-unknown-linux-gnu.tar.xz >- )" >+ $(rust_all_arch_uris cargo-${BOOTSTRAP_VERSION})" > > RESTRICT="mirror" > LICENSE="|| ( MIT Apache-2.0 )" >@@ -169,20 +156,6 @@ > > IUSE="doc libressl" > >-if [[ ${ARCH} = "amd64" ]]; then >- TRIPLE="x86_64-unknown-linux-gnu" >-elif [[ ${ARCH} = "x86" ]]; then >- TRIPLE="i686-unknown-linux-gnu" >-elif [[ ${ARCH} = "arm64" ]]; then >- TRIPLE="aarch64-unknown-linux-gnu" >-elif [[ "$(tc-is-softfloat)" != "no" ]] && [[ ${CHOST} == armv6* ]]; then >- TRIPLE="arm-unknown-linux-gnueabi" >-elif [[ ${CHOST} == armv6*h* ]]; then >- TRIPLE="arm-unknown-linux-gnueabihf" >-elif [[ ${CHOST} == armv7*h* ]]; then >- TRIPLE="armv7-unknown-linux-gnueabihf" >-fi >- > COMMON_DEPEND="sys-libs/zlib > !libressl? ( dev-libs/openssl:0= ) > libressl? ( dev-libs/libressl:0= ) >@@ -208,7 +181,7 @@ > > src_compile() { > export CARGO_HOME="${ECARGO_HOME}" >- local cargo="${WORKDIR}/cargo-${BOOTSTRAP_VERSION}-${TRIPLE}/cargo/bin/cargo" >+ local cargo="${WORKDIR}/cargo-${BOOTSTRAP_VERSION}-$(rust_abi)/cargo/bin/cargo" > ${cargo} build -j$(makeopts_jobs) --release || die > > # Building HTML documentation
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 609654
:
464894
|
464896
|
464898
|
464900
|
549192
|
549200
|
553524
| 553526 |
557036