git: a76e25beccde - 2023Q3 - graphics/libplacebo: unbreak version without WRKDIRPREFIX

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Thu, 27 Jul 2023 00:35:58 UTC
The branch 2023Q3 has been updated by jbeich:

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

commit a76e25beccdee7c43ce5dd4afee667b21d3865f5
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:33:14 +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)
    
    (cherry picked from commit 6b6bfa927bdf60136060f07ae67ea175abbb31b8)
---
 graphics/libplacebo/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/graphics/libplacebo/Makefile b/graphics/libplacebo/Makefile
index bb7b0b80fcc0..53f263f8febe 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