Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Apr 2023 12:04:08 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c9ec5ab82201 - main - math/octave-forge-video: Move to FFmpeg 4
Message-ID:  <202304271204.33RC48TV046325@gitrepo.freebsd.org>

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

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

commit c9ec5ab8220169eed6029deb9a024e56bf38672f
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-04-27 10:09:54 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-04-27 12:01:43 +0000

    math/octave-forge-video: Move to FFmpeg 4
    
    Fails to build with FFmpeg 6
    
    PR:             270281
    Approved by:    portmgr (blanket, build fix)
    Sponsored by:   Blinkinblox
---
 math/octave-forge-video/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/math/octave-forge-video/Makefile b/math/octave-forge-video/Makefile
index b1a192cd89b3..a740f645bc02 100644
--- a/math/octave-forge-video/Makefile
+++ b/math/octave-forge-video/Makefile
@@ -12,11 +12,12 @@ WWW=		https://packages.octave.org/
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKDIR}/${OCTAVE_SRC}/COPYING
 
-LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg
+LIB_DEPENDS=	libavcodec.so.58:multimedia/ffmpeg4
 
 USES=		octave pkgconfig
-
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV+=	HOME=${WRKSRC}
+
+CPPFLAGS+=	-I${LOCALBASE}/ffmpeg4/include
+CONFIGURE_ENV+=	HOME=${WRKSRC} PKG_CONFIG_PATH="${LOCALBASE}/ffmpeg4/libdata/pkgconfig"
 
 .include <bsd.port.mk>



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