git: d1ca583c9f86 - main - archivers/bzip3: Monkey patch to display correct verison
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 12 Jan 2024 14:34:59 UTC
The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=d1ca583c9f86652049d9e347edbd5381184b0365 commit d1ca583c9f86652049d9e347edbd5381184b0365 Author: Emanuel Haupt <ehaupt@FreeBSD.org> AuthorDate: 2024-01-12 14:33:02 +0000 Commit: Emanuel Haupt <ehaupt@FreeBSD.org> CommitDate: 2024-01-12 14:33:02 +0000 archivers/bzip3: Monkey patch to display correct verison Upstream issue: https://github.com/kspalaiologos/bzip3/issues/126 PR: 276274 (based on) Reported by: dearblue@users.osdn.me --- archivers/bzip3/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/archivers/bzip3/Makefile b/archivers/bzip3/Makefile index 3bebe1c70bdc..bad5f1530837 100644 --- a/archivers/bzip3/Makefile +++ b/archivers/bzip3/Makefile @@ -1,5 +1,6 @@ PORTNAME= bzip3 DISTVERSION= 1.4.0 +PORTREVISION= 1 CATEGORIES= archivers MASTER_SITES= https://github.com/kspalaiologos/${PORTNAME}/releases/download/${DISTVERSION}/ @@ -13,4 +14,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake pathfix tar:xz USE_LDCONFIG= yes +post-patch: + @${REINPLACE_CMD} -e "s|\(VERSION \)1\.3\.0|\1${DISTVERSION}|" \ + ${WRKSRC}/CMakeLists.txt + .include <bsd.port.mk>