aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Engberg <diizzy@FreeBSD.org>2023-04-27 10:09:54 +0000
committerDaniel Engberg <diizzy@FreeBSD.org>2023-04-27 12:01:43 +0000
commitc9ec5ab8220169eed6029deb9a024e56bf38672f (patch)
tree5dff93402ad6c08cedc3be8cbfe340965e1bbe93
parent4ea6ffb836ed71110fff16f6569e6957fcdeaa91 (diff)
downloadports-c9ec5ab8220169eed6029deb9a024e56bf38672f.tar.gz
ports-c9ec5ab8220169eed6029deb9a024e56bf38672f.zip
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
-rw-r--r--math/octave-forge-video/Makefile7
1 files 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>