Subject: CVS commit: pkgsrc
From: Nia Alarie
Date: 2020-06-14 17:33:29
Message id: 20200614153329.9592CFB28@cvs.NetBSD.org

Log Message:
Rename rust-bin's PKGNAME to rust-bin. Add rust.mk for rust packages.

This allows rust-bin and rust to coexist in bulk builds (for testing, etc),
but the packages still may not be installed at the same time.

rust.mk as a solution for picking the correct rust variant was suggested
by gdt@. It is intended to be included directly by packages that do not
use cargo.mk, and indirectly by packages that do use cargo.mk.

rust.mk provides one user-settable variable:

RUST_TYPE
	as before, whether to bootstrap rust from source or use
	official binaries. may be "src" or "bin"

And two package-settable variables:

RUST_REQ
	the minimum version of Rust required by the package.
	defaults to "1.20.0"

RUST_RUNTIME
	whether Rust is a runtime dependency, may be "yes" or "no"

Files:
RevisionActionfile
1.16modifypkgsrc/devel/cbindgen/Makefile
1.123modifypkgsrc/graphics/librsvg/Makefile
1.5modifypkgsrc/lang/mozjs68/Makefile
1.180modifypkgsrc/lang/rust/Makefile
1.17modifypkgsrc/lang/rust/cargo.mk
1.9modifypkgsrc/lang/rust-bin/Makefile
1.12modifypkgsrc/net/tor/options.mk
1.2modifypkgsrc/sysutils/tealdeer/Makefile
1.43modifypkgsrc/www/cliqz/Makefile
1.170modifypkgsrc/www/firefox/mozilla-common.mk
1.11modifypkgsrc/www/firefox68/mozilla-common.mk
1.11modifypkgsrc/www/geckodriver/Makefile
1.3modifypkgsrc/www/seamonkey/mozilla-common.mk
1.3modifypkgsrc/www/zola/Makefile
1.1addpkgsrc/lang/rust/rust.mk
1.1addpkgsrc/lang/rust-bin/buildlink3.mk
1.2removepkgsrc/lang/rust/type.mk