aboutsummaryrefslogtreecommitdiff
path: root/cad/opencascade740
diff options
context:
space:
mode:
authorDaniel Engberg <diizzy@FreeBSD.org>2023-04-27 09:24:43 +0000
committerDaniel Engberg <diizzy@FreeBSD.org>2023-04-27 12:01:41 +0000
commita62d83a6772af22ab2d4542ac4ecf6aaac6d1a58 (patch)
tree85e5f2ea9c214cc4a3488fba43f08d6e85232798 /cad/opencascade740
parent6fcbf43cefc8f75d0ef55ef154e86bc566c6f0dd (diff)
downloadports-a62d83a6772af22ab2d4542ac4ecf6aaac6d1a58.tar.gz
ports-a62d83a6772af22ab2d4542ac4ecf6aaac6d1a58.zip
cad/opencascade*: Move to FFmpeg 4
Fails to build with FFmpeg 6 PR: 270197 Approved by: portmgr (blanket, build fix) Sponsored by: Blinkinblox
Diffstat (limited to 'cad/opencascade740')
-rw-r--r--cad/opencascade740/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/cad/opencascade740/Makefile b/cad/opencascade740/Makefile
index 72e9bf9d58b7..1b3e554f92b1 100644
--- a/cad/opencascade740/Makefile
+++ b/cad/opencascade740/Makefile
@@ -63,9 +63,11 @@ OCCROOT= ${PREFIX}/${LOCCROOT}
PLIST_SUB= OCCROOT="${LOCCROOT}" BITS=${BITS} CC=${CHOSEN_COMPILER_TYPE} \
VE=${PORTVERSION:R:R} VER=${PORTVERSION}
-FFMPEG_CMAKE_ON= -DUSE_FFMPEG:BOOL=ON
+FFMPEG_CMAKE_ON= -DUSE_FFMPEG:BOOL=ON \
+ -D3RDPARTY_FFMPEG_INCLUDE_DIR=${LOCALBASE}/ffmpeg4/include \
+ -D3RDPARTY_FFMPEG_DIR=${LOCALBASE}/ffmpeg4
FFMPEG_CMAKE_OFF= -DUSE_FFMPEG:BOOL=OFF
-FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
+FFMPEG_LIB_DEPENDS= libavcodec.so.58:multimedia/ffmpeg4
VIS_CMAKE_ON= -DUSE_FREEIMAGE:BOOL=ON -DUSE_GL2PS:BOOL=ON \
-DUSE_FREETYPE:BOOL=ON -D3RDPARTY_FREETYPE_DIR=${LOCALBASE}