Changeset View
Changeset View
Standalone View
Standalone View
lang/rust/Makefile
Show All 38 Lines | |||||
LIB_DEPENDS= libcurl.so:ftp/curl \ | LIB_DEPENDS= libcurl.so:ftp/curl \ | ||||
libgit2.so:devel/libgit2 \ | libgit2.so:devel/libgit2 \ | ||||
libssh2.so:security/libssh2 | libssh2.so:security/libssh2 | ||||
USES= pkgconfig python:3.3+,build ssl tar:xz | USES= pkgconfig python:3.3+,build ssl tar:xz | ||||
CONFLICTS_INSTALL?= rust-nightly | CONFLICTS_INSTALL?= rust-nightly | ||||
# lang/rust-bootstrap builds the bundled libgit2 and using the patch | |||||
# to fix runtime with system libgit2 is incompatible with it. Keep | |||||
# it separate. | |||||
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-vendor_libgit2-sys_lib.rs | |||||
PLIST_FILES= lib/rustlib/components \ | PLIST_FILES= lib/rustlib/components \ | ||||
lib/rustlib/rust-installer-version | lib/rustlib/rust-installer-version | ||||
OPTIONS_DEFINE= DOCS GDB SOURCES | OPTIONS_DEFINE= DOCS GDB SOURCES | ||||
GDB_DESC= Install ports gdb (necessary for debugging rust programs) | GDB_DESC= Install ports gdb (necessary for debugging rust programs) | ||||
SOURCES_DESC= Install source files | SOURCES_DESC= Install source files | ||||
DOCS_VARS_OFF= _RUST_BUILD_DOCS=false | DOCS_VARS_OFF= _RUST_BUILD_DOCS=false | ||||
DOCS_VARS= _RUST_BUILD_DOCS=true | DOCS_VARS= _RUST_BUILD_DOCS=true | ||||
GDB_RUN_DEPENDS= ${LOCALBASE}/bin/gdb:devel/gdb | GDB_RUN_DEPENDS= ${LOCALBASE}/bin/gdb:devel/gdb | ||||
# See WRKSRC/src/stage0.txt for the date and version values. | # See WRKSRC/src/stage0.txt for the date and version values. | ||||
BOOTSTRAPS_DATE?= 2019-11-07 | BOOTSTRAPS_DATE?= 2020-01-11 | ||||
RUST_BOOTSTRAP_VERSION?= 1.39.0 | RUST_BOOTSTRAP_VERSION?= 1.40.0 | ||||
CARGO_BOOTSTRAP_VERSION?= 0.40.0 | CARGO_BOOTSTRAP_VERSION?= 0.41.0 | ||||
COMPILER_RT_VERSION?= 9.0.0 | COMPILER_RT_VERSION?= 9.0.0 | ||||
BOOTSTRAPS_SUFFIX?= ${BOOTSTRAPS_SUFFIX_${ARCH}} | BOOTSTRAPS_SUFFIX?= ${BOOTSTRAPS_SUFFIX_${ARCH}} | ||||
BOOTSTRAPS_SUFFIX_powerpc64?= -${PPC_ABI:tl} | BOOTSTRAPS_SUFFIX_powerpc64?= -${PPC_ABI:tl} | ||||
CARGO_VENDOR_DIR?= ${WRKSRC}/vendor | CARGO_VENDOR_DIR?= ${WRKSRC}/vendor | ||||
# Rust's target arch string might be different from *BSD arch strings | # Rust's target arch string might be different from *BSD arch strings | ||||
▲ Show 20 Lines • Show All 201 Lines • Show Last 20 Lines |