git: 3702ec56be1b - main - multimedia/mpv: unbreak TEST=on after 1d89ec25be62

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 14 Nov 2022 09:48:10 UTC
The branch main has been updated by jbeich:

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

commit 3702ec56be1bb3d891f618c8dcbe75f943ad82be
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-11-14 09:31:25 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-11-14 09:47:24 +0000

    multimedia/mpv: unbreak TEST=on after 1d89ec25be62
    
    env: build/mpv: No such file or directory
---
 multimedia/mpv/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile
index 19973d7928ec..8c9ce08ecc0f 100644
--- a/multimedia/mpv/Makefile
+++ b/multimedia/mpv/Makefile
@@ -183,6 +183,7 @@ post-patch-MANPAGES-on:
 		-e 's|/usr/local|${PREFIX}|g'
 
 pre-install-TEST-on:
-	@(cd ${WRKSRC} && ${SETENV} ${TEST_ENV} build/mpv --unittest=all-simple)
+	@(cd ${WRKSRC} && ${SETENV} ${TEST_ENV} \
+		${MESON_BUILD_DIR}/${PORTNAME} --unittest=all-simple)
 
 .include <bsd.port.mk>