Tweak lang/rust version 1.25.0
[dports.git] / lang / rust / Makefile.DragonFly
1 MASTER_SITES+=  https://leaf.dragonflybsd.org/~mneumann/rust/:rust_bootstrap \
2                 https://leaf.dragonflybsd.org/~mneumann/rust/:cargo_bootstrap
3
4 # non static bootstrap
5 .if exists (/usr/libexec/gcc80/CC)
6 X_PY_ENV+="LD_LIBRARY_PATH=${WRKSRC}/build/${RUST_TARGET}/stage0/lib:/usr/lib/gcc80"
7 .else
8 X_PY_ENV+="LD_LIBRARY_PATH=${WRKSRC}/build/${RUST_TARGET}/stage0/lib"
9 .endif
10 X_PY_ENV+="RUST_BACKTRACE=1"
11
12 # A pthread bug has been fixed in 5.0.2
13 .if ${DFLYVERSION} < 500002
14 MAKE_JOBS_NUMBER=1
15 .endif