aboutsummaryrefslogtreecommitdiff
path: root/lang/rust/Makefile
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2019-02-21 19:03:17 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2019-02-21 19:03:17 +0000
commitea6c7641aa7780ae602bd29305dfe75459798bc0 (patch)
tree97526638568ca98462c5b1eee91e5463346af25b /lang/rust/Makefile
parent406f1da57b76c097417e178c488ad1c39714a924 (diff)
downloadports-ea6c7641aa.tar.gz
ports-ea6c7641aa.zip
lang/rust: Ignore with qemu-user-static and on aarch64 without fixed ld-elf.so.1
- Rust will not run without a fixed ld-elf.so.1 on aarch64 - Builds with qemu-user-static currently hang after a while PR: 221185 Submitted by: Mikaƫl Urankar <mikael.urankar@gmail.com>
Notes
Notes: svn path=/head/; revision=493523
Diffstat (limited to 'lang/rust/Makefile')
-rw-r--r--lang/rust/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index 4403ce562de6..4f2e71eca414 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -102,6 +102,16 @@ BUILD_DEPENDS+= gcc8:lang/gcc8
USE_GCC= yes
.endif
+.if ${OPSYS} == FreeBSD && ${ARCH} == aarch64 && \
+ (${OSVERSION} < 1200502 || \
+ (${OSVERSION} > 1300000 && ${OSVERSION} < 1300006))
+IGNORE= fails to run due to a bug in rtld, update to 12-STABLE r342847 or 13-CURRENT r342113
+.endif
+
+.ifdef QEMU_EMULATING
+IGNORE= fails to build with qemu-user-static
+.endif
+
X_PY_ENV= HOME="${WRKDIR}" \
LIBGIT2_SYS_USE_PKG_CONFIG=1 \
LIBSSH2_SYS_USE_PKG_CONFIG=1 \