diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2018-12-17 10:33:12 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2018-12-17 10:33:12 +0000 |
commit | f3d3f56fa451e4cddc86b1707a23633421fa05d7 (patch) | |
tree | 5a37473bdae6fd8e4c3fc8e2908cb0dffdb42226 | |
parent | e24954b7c51e065a48b9c72546fa720bbee6382a (diff) | |
download | ports-f3d3f56fa451e4cddc86b1707a23633421fa05d7.tar.gz ports-f3d3f56fa451e4cddc86b1707a23633421fa05d7.zip |
Notes
-rw-r--r-- | lang/rust/Makefile | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile index 3f1b4a95d6bb..722bc90615e3 100644 --- a/lang/rust/Makefile +++ b/lang/rust/Makefile @@ -39,11 +39,6 @@ ONLY_FOR_ARCHS_REASON= requires prebuilt bootstrap compiler BROKEN_aarch64= fails to build: bootstrap compiler crashes -# FIXME: The bootstrapped rustc adds -L/usr/local/lib in front of -# the LDFLAGS. When stage0's rustc is linked, it picks the installed -# librust*so and fails. -#CONFLICTS_BUILD?= rust-nightly -#CONFLICTS_BUILD+= ${PKGBASE} CONFLICTS_INSTALL?= rust-nightly # See WRKSRC/src/stage0.txt for this date and version values. @@ -106,30 +101,6 @@ X_PY_CMD= ${PYTHON_CMD} ${WRKSRC}/x.py CRATES_PATCHED_BY_FBSD10_FIX?= src/vendor/libssh2-sys \ src/vendor/lzma-sys -pre-fetch: - # FIXME: This is the same check for CONFLICTS as the standard - # one, except port origins are not compared. This allows - # the port to conflict with itself, because Rust would pick - # installed Rust libraries instead of freshly built ones. - @conflicts_with=$$( \ - { ${PKG_QUERY} -g "%n-%v %p %o" ${CONFLICTS:C/.+/'&'/} ${CONFLICTS_BUILD:C/.+/'&'/} 2>/dev/null || : ; } \ - | while read pkgname prfx orgn; do \ - if [ "/${PREFIX}" = "/$${prfx}" ]; then \ - ${ECHO_CMD} -n " $${pkgname}"; \ - fi; \ - done); \ - if [ -n "$${conflicts_with}" ]; then \ - ${ECHO_MSG}; \ - ${ECHO_MSG} "===> ${PKGNAME} conflicts with installed package(s): "; \ - for entry in $${conflicts_with}; do \ - ${ECHO_MSG} " $${entry}"; \ - done; \ - ${ECHO_MSG}; \ - ${ECHO_MSG} " They will not build together."; \ - ${ECHO_MSG} " Please remove them first with pkg delete."; \ - exit 1;\ - fi - RUST_STD_DIR= ${RUST_STD_BOOTSTRAP:T:R:R} post-extract: |