pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: pkgsrc/lang/rust
> On Fri, Nov 13, 2020 at 08:35:59PM +0000, Havard Eidnes wrote:
>> +# Cross-built against NetBSD 9.0
>> +. if empty(OS_VERSION:M8.*) || make(distinfo) || make(makesum) || make(mdi)
>> +RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}90.tar.gz
>> +RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}90.tar.gz
>> +DISTFILES:= ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
>> +SITES.${RUST_STAGE0}= ${MASTER_SITE_LOCAL:=rust/}
>> +SITES.${RUST_STD_STAGE0}= ${MASTER_SITE_LOCAL:=rust/}
>> +. endif
>> +
>> +# Cross-built against NetBSD 8.0
>> +. if !empty(OS_VERSION:M8.*) || make(distinfo) || make(makesum) || make(mdi)
>> +RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
>> +RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
>> +DISTFILES:= ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
>> +SITES.${RUST_STAGE0}= ${MASTER_SITE_LOCAL:=rust/}
>> SITES.${RUST_STD_STAGE0}= ${MASTER_SITE_LOCAL:=rust/}
>> +. endif
>
> Typo in the OS_VERSION check?
I didn't think so? Maybe I've stared myself blind at it...
If "not matching 8.*" (empty match against 8.*) it must be 9.0 or
newer, so use the 90 version.
If "matching 8.*" (non-empty match against 8.*), use the bootstrap
built for 8.0, which doesn't have the 90 version string.
Once 10.0 is out, this can hopefully be changed back to only list one
bootstrap kit for NetBSD/powerpc.
Regards,
- Håvard
Home |
Main Index |
Thread Index |
Old Index