tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rust, NetBSD/i386 and librsvg



On Sat, Jun 08, 2019 at 08:42:33PM +0100, David Brownlee wrote:
> Looks like librsvg defaults to the rust implementation on
> NetBSD/i386... but there do not aappear to be any NetBSD/i386 rust
> bootstrap distfiles available.

The pkgsrc package assumes they exist:

.if !empty(MACHINE_PLATFORM:MNetBSD-*-i386) || make(distinfo) || make (makesum) || make(mdi)
RUST_STAGE0_VER=        1.35.0
RUST_ARCH=              i686-unknown-netbsd
RUST_STAGE0:=           rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
RUST_STD_STAGE0:=       rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
# Bootstrap kit prepared by he@
SITES.${RUST_STAGE0}=   ftp://golden-delicious.urc.uninett.no/pub/rust/
SITES.${RUST_STD_STAGE0}=       ftp://golden-delicious.urc.uninett.no/pub/rust/
DISTFILES:=             ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
# Setting this changes it for every distfile, which doesn't match what is
# currently in distinfo.
#DIST_SUBDIR=           ${PKGNAME}
# For atomic ops
CFLAGS+=                -march=i586
pre-build-fix:
        ${TOOLS_PLATFORM.paxctl} +am ${WRKDIR}/rust-bootstrap/bin/cargo
.endif

Did someone forgot uploading them?
 Thomas


Home | Main Index | Thread Index | Old Index