diff options
author | dumbbell <dumbbell@FreeBSD.org> | 2016-02-07 08:34:38 +0800 |
---|---|---|
committer | dumbbell <dumbbell@FreeBSD.org> | 2016-02-07 08:34:38 +0800 |
commit | c294e8a89fcbf40052ed6bbc6500f6c71c1858b8 (patch) | |
tree | 4e7118c1d8e25cf25f5bb39791a7d7b4df12edbe | |
parent | 275fa9d6878dc2d4cfc34503f232e42b4958cb7a (diff) | |
download | freebsd-ports-gnome-c294e8a89fcbf40052ed6bbc6500f6c71c1858b8.tar.gz freebsd-ports-gnome-c294e8a89fcbf40052ed6bbc6500f6c71c1858b8.tar.zst freebsd-ports-gnome-c294e8a89fcbf40052ed6bbc6500f6c71c1858b8.zip |
devel/cargo: Build on amd64 only
Cargo requires a prebuilt bootstrapped version of itself. The only one
available for FreeBSD is for amd64.
This prevents build failures on i386.
Reviewed by: jbeich
Approved by: jbeich
MFH: 2016Q1
Differential Revision: https://reviews.freebsd.org/D5219
-rw-r--r-- | devel/cargo/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/devel/cargo/Makefile b/devel/cargo/Makefile index 887178ef0a50..1e72450ef064 100644 --- a/devel/cargo/Makefile +++ b/devel/cargo/Makefile @@ -44,6 +44,9 @@ GH_ACCOUNT= rust-lang GH_PROJECT= rust-installer:rust_installer GH_TAGNAME= 4915c75:rust_installer +ONLY_FOR_ARCHS= amd64 +ONLY_FOR_ARCHS_REASON= requires prebuilt bootstrap cargo + CARGO_BOOT_SIG= ${ARCH:S/amd64/x86_64/}-unknown-${OPSYS:tl} CARGO_BOOT= ${PORTNAME}-nightly-${CARGO_BOOT_SIG}${EXTRACT_SUFX} CARGO_REGISTRY= ${PORTNAME}-registry-${DISTVERSIONFULL}.tar.xz |