- This Rust release comes with LLVM 10. Drop the LLVM patches we no longer need. - On FreeBSD 13.0 powerpc64 set the elfv2 ABI explicitly in the Rust target instead of patching LLVM. - Build LLVM with Ninja. It can shorten the build time slightly. - Force rebuild all consumers to catch regressions early Changes: https://blog.rust-lang.org/2020/07/16/Rust-1.45.0.html Tested by: mikael, pkubaj, tobik With hat: rust Differential Revision: https://reviews.freebsd.org/D25658
27 lines
493 B
Makefile
27 lines
493 B
Makefile
# $FreeBSD$
|
|
|
|
PORTREVISION= 1
|
|
PKGNAMEPREFIX= lib
|
|
|
|
MASTERDIR= ${.CURDIR}/../rav1e
|
|
PLIST= ${.CURDIR}/pkg-plist
|
|
|
|
BUILD_DEPENDS= cargo-cbuild:devel/cargo-c
|
|
|
|
PLIST_FILES= # empty
|
|
PLIST_SUB= VERSION=${DISTVERSION:C/-.*//}
|
|
|
|
do-build:
|
|
@${CARGO_CARGO_RUN} cbuild \
|
|
${CARGO_BUILD_ARGS}
|
|
|
|
do-install:
|
|
@${CARGO_CARGO_RUN} cinstall \
|
|
--destdir "${STAGEDIR}" \
|
|
--prefix "${PREFIX}" \
|
|
${CARGO_BUILD_ARGS}
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
|
|
|
|
.include "${MASTERDIR}/Makefile"
|