1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/ports-mgmt
Yuri Victorovich dbd1f33e37 Mk/Uses/cargo.mk: Remove cross-compilation options for Rust-based ports
Reasons:
* Port build shouldn't use cross-compilation mode
  because it buids for the same architecture.
* RUSTFLAGS isn't passed to the build of all or some Rust ports
  in the cross-compilation mode.

Essential changes:
* Remove the CARGO_BUILD_TARGET make variable.
* Remove CARGO_BUILD_TARGET and CARGO_TARGET_* from CARGO_ENV.
* Update many ports that used CARGO_BUILD_TARGET.
* Build paths now don't include the architecture triplet part.

Immadiate benefits:
* Unbreak build on architectures like i386 that sometimes require
  special RUSTFLAGS that were not effective in the cross-compilation
  mode.

Ports that really need cross-compilation for some reason should
enable it on case-by-case basis. Example: net-p2p/cncli
(Not sure why does net-p2p/cncli actually need it, but it only
builds with these options.)

PR:		280305
Approved by:	rust@FreeBSD.org (maintainer's timeout; 98 days)
2024-11-05 00:08:25 -08:00
..
bsdadminscripts2
caronade
create-rb-port
dialog4ports
dialog4ports-static
distilator
fallout
fastest_pkg
freebsd-bugzilla-cli
genpatch
genplist
hs-cabal2tuple
hs-panopticum
jailaudit
lsknobs
mkreadmes
modules2tuple
octopkg
p5-FreeBSD-Ports
p5-FreeBSD-Ports-INDEXhash
packagekit
packagekit-qt
pchecker
pkg
pkg_cleanup
pkg_cutleaves
pkg_jail
pkg_replace
pkg_rmleaves
pkg_search
pkg_tree
pkg-appstream
pkg-devel
pkg-graph
pkg-provides
pkg-rmleaf
pkgcompare
pkgs_which
port-authoring-tools
port-index-uniquifier
port-maintenance-tools
portal
portconf
portconfig
portdowngrade
portest
portfind
portfmt
portgraph
portgrep
portless
portlint
portmaster
portoptscli
portrac
ports-tools
portscout
portsdb
portsearch
portshaker
portshaker-config
portsnap
portsreinstall
porttools
porttree
portupdate-scan
portupgrade
portupgrade-devel
poudriere
poudriere-devel
psearch
py-FreeBSD-ports
py-pnu-portstreelint
py-pytoport
py-skog
rc-subr-jail
reprise
sccache-overlay Mk/Uses/cargo.mk: Remove cross-compilation options for Rust-based ports 2024-11-05 00:08:25 -08:00
submodules2tuple
synth
wanted-ports
Makefile