git: 7a5136e7f669 - main - multimedia/rav1e: fix full version after cc86ba67f420
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Nov 2022 22:18:51 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=7a5136e7f669c65856dc4a29fcccf0b5898f68f7 commit 7a5136e7f669c65856dc4a29fcccf0b5898f68f7 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2022-11-30 21:26:53 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2022-11-30 22:17:54 +0000 multimedia/rav1e: fix full version after cc86ba67f420 https://github.com/xiph/rav1e/commit/1816a1c625b9 --- multimedia/rav1e/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/multimedia/rav1e/Makefile b/multimedia/rav1e/Makefile index f772749c3460..10ae60d013d3 100644 --- a/multimedia/rav1e/Makefile +++ b/multimedia/rav1e/Makefile @@ -21,8 +21,9 @@ PLIST_FILES?= bin/${PORTNAME} post-patch: # Extract (snapshot) version from the port instead of CARGO_PKG_VERSION - @${REINPLACE_CMD} 's/env!("VERGEN_SEMVER_LIGHTWEIGHT")/"${DISTVERSIONFULL}"/' \ - ${WRKSRC}/src/capi.rs ${WRKSRC}/src/lib.rs + @${REINPLACE_CMD} -e 's/\<.*GIT_VERSION\.unwrap.*/"${DISTVERSIONFULL}"/' \ + -e $$'/GIT_VERSION/,/UNKNOWN/c\\\n\t"${DISTVERSIONFULL}",\n' \ + ${WRKSRC}/src/bin/common.rs ${WRKSRC}/src/lib.rs .if !target(post-install) post-install: