Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jul 2023 00:32:38 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6b6bfa927bdf - main - graphics/libplacebo: unbreak version without WRKDIRPREFIX
Message-ID:  <202307270032.36R0WcgH030701@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6b6bfa927bdf60136060f07ae67ea175abbb31b8

commit 6b6bfa927bdf60136060f07ae67ea175abbb31b8
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-07-26 21:32:11 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-07-27 00:26:31 +0000

    graphics/libplacebo: unbreak version without WRKDIRPREFIX
    
    [vo/gpu/libplacebo] Initialized libplacebo 12.3-eol-13663-gde305010502d (API v292)
    
    Reported by:    Kevin Oberman (via bug 272709)
---
 graphics/libplacebo/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/graphics/libplacebo/Makefile b/graphics/libplacebo/Makefile
index 82d52997addc..89ff98e8ba66 100644
--- a/graphics/libplacebo/Makefile
+++ b/graphics/libplacebo/Makefile
@@ -58,7 +58,8 @@ post-patch:
 	@${REINPLACE_CMD} "s,static:,dirs: '${LOCALBASE}/lib'\, &," \
 		${WRKSRC}/src/glsl/meson.build
 # Extract (snapshot) version from port version instead of meson.build
-	@${REINPLACE_CMD} "s/version_pretty/'${DISTVERSIONFULL}'/" \
+	@${REINPLACE_CMD} -e "s/'git'/'${FALSE}'/" \
+		-e "s/version_pretty/'${DISTVERSIONFULL}'/" \
 		${WRKSRC}/src/meson.build
 
 pre-install-TEST-on:	do-test



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307270032.36R0WcgH030701>