freebsd-ports/multimedia/librav1e/Makefile
Tobias Kortkamp b0f1d6430e lang/rust: Update to 1.45.0
- 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
2020-07-17 06:44:04 +00:00

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"