FreeBSD Bugzilla – Attachment 241768 Details for
Bug 270325
net/opal: Fails to build with FFmpeg 6.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for opal
ffmpeg4-opal.patch (text/plain), 1.11 KB, created by
Daniel Engberg
on 2023-04-26 14:17:51 UTC
(
hide
)
Description:
Patch for opal
Filename:
MIME Type:
Creator:
Daniel Engberg
Created:
2023-04-26 14:17:51 UTC
Size:
1.11 KB
patch
obsolete
>diff --git a/net/opal/Makefile b/net/opal/Makefile >index d1db20cba1ff..7343e6e73e13 100644 >--- a/net/opal/Makefile >+++ b/net/opal/Makefile >@@ -16,9 +16,9 @@ USES= compiler:c11 gmake pathfix pkgconfig tar:xz > GNU_CONFIGURE= yes > USE_LDCONFIG= yes > >-CXXFLAGS+= -I${LOCALBASE}/include >-CPPFLAGS+= -I${LOCALBASE}/include >-LDFLAGS+= -L${LOCALBASE}/lib >+CXXFLAGS+= -I${LOCALBASE}/ffmpeg4/include -I${LOCALBASE}/include >+CPPFLAGS+= -I${LOCALBASE}/ffmpeg4/include -I${LOCALBASE}/include >+LDFLAGS+= -L${LOCALBASE}/ffmpeg4/lib -L${LOCALBASE}/lib > > OPTIONS_DEFINE= JAVA ILBC GSM SPEEX THEORA FFMPEG X264 SIP H323 IAX \ > H224 H281 FAX MSRP SIPIM RTPTEXT H450 H460 H501 LID UVIDEO \ >@@ -131,9 +131,10 @@ PLIST_SUB+= X264="@comment " > .endif > > .if ${PORT_OPTIONS:MFFMPEG} >-BUILD_DEPENDS+= ffmpeg>=2:multimedia/ffmpeg >-RUN_DEPENDS+= ffmpeg>=2:multimedia/ffmpeg >+LIB_DEPENDS+= libavutil.so.56:multimedia/ffmpeg4 >+CONFIGURE_ENV+= PKG_CONFIG_PATH="${LOCALBASE}/ffmpeg4/libdata/pkgconfig" > CONFIGURE_ARGS+= --enable-libavcodec >+MAKE_ENV+= PKG_CONFIG_PATH="${LOCALBASE}/ffmpeg4/libdata/pkgconfig" > PLIST_SUB+= FFMPEG="" > WITH_VIDEO= yes > .else
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 270325
: 241768