mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 10:56:27 -04:00
lang/rust: do not build the documentation on armv7
A bug [1] prevents documentation from being compiled on this platform, disable it until it's fixed in a release branch. [1] https://github.com/rust-lang/rust/pull/137632 Reported by: mmel
This commit is contained in:
parent
fd8d065bf2
commit
3a627a5c54
1 changed files with 4 additions and 0 deletions
|
@ -171,7 +171,11 @@ do-configure:
|
|||
@${ECHO_CMD} 'vendor=true' >> ${WRKSRC}/config.toml
|
||||
@${ECHO_CMD} 'extended=true' >> ${WRKSRC}/config.toml
|
||||
@${ECHO_CMD} 'python="${PYTHON_CMD}"' >> ${WRKSRC}/config.toml
|
||||
.if ${ARCH} == "armv7"
|
||||
@${ECHO_CMD} 'docs=false' >> ${WRKSRC}/config.toml
|
||||
.else
|
||||
@${ECHO_CMD} 'docs=${_RUST_BUILD_DOCS}' >> ${WRKSRC}/config.toml
|
||||
.endif
|
||||
@${ECHO_CMD} 'verbose=2' >> ${WRKSRC}/config.toml
|
||||
.if defined(NIGHTLY_DATE)
|
||||
@${ECHO_CMD} 'profiler=true' >> ${WRKSRC}/config.toml
|
||||
|
|
Loading…
Add table
Reference in a new issue