git: 92f0af65f2ed - main - multimedia/ffnvcodec-headers: explicitly set PREFIX

From: Mikhail Teterin <mi_at_FreeBSD.org>
Date: Tue, 20 Jun 2023 21:13:07 UTC
The branch main has been updated by mi:

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

commit 92f0af65f2edd6e57e25784360798acc2dc84748
Author:     Mikhail Teterin <mi@FreeBSD.org>
AuthorDate: 2023-06-20 21:11:30 +0000
Commit:     Mikhail Teterin <mi@FreeBSD.org>
CommitDate: 2023-06-20 21:11:30 +0000

    multimedia/ffnvcodec-headers: explicitly set PREFIX
    
    Without this, upstream's Makefile uses /usr/local, which may be
    incorrect on systems with unusual PREFIX.
    
    PR:     272105
    Approved by: Alex S. (for multimedia@)
---
 multimedia/ffnvcodec-headers/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/multimedia/ffnvcodec-headers/Makefile b/multimedia/ffnvcodec-headers/Makefile
index 82ff75e69ff9..98daba8ac840 100644
--- a/multimedia/ffnvcodec-headers/Makefile
+++ b/multimedia/ffnvcodec-headers/Makefile
@@ -15,6 +15,7 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	FFmpeg
 GH_PROJECT=	nv-codec-headers
 
+MAKE_ARGS+=	PREFIX="${PREFIX}"
 NO_ARCH=	yes
 
 .include <bsd.port.mk>