Skip to content

Commit

Permalink
math/octave-forge-video: Move to FFmpeg 4
Browse files Browse the repository at this point in the history
Fails to build with FFmpeg 6

PR:		270281
Approved by:	portmgr (blanket, build fix)
Sponsored by:	Blinkinblox
  • Loading branch information
Daniel Engberg authored and Daniel Engberg committed Apr 27, 2023
1 parent 4ea6ffb commit c9ec5ab
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions math/octave-forge-video/Makefile
Expand Up @@ -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>

0 comments on commit c9ec5ab

Please sign in to comment.