FreeBSD Bugzilla – Attachment 241766 Details for
Bug 270295
multimedia/motion: 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 motion
ffmpeg4-motion.patch (text/plain), 967 bytes, created by
Daniel Engberg
on 2023-04-26 13:40:10 UTC
(
hide
)
Description:
Patch for motion
Filename:
MIME Type:
Creator:
Daniel Engberg
Created:
2023-04-26 13:40:10 UTC
Size:
967 bytes
patch
obsolete
>diff --git a/multimedia/motion/Makefile b/multimedia/motion/Makefile >index d8eb07901399..4c268188d930 100644 >--- a/multimedia/motion/Makefile >+++ b/multimedia/motion/Makefile >@@ -28,6 +28,11 @@ USE_RC_SUBR= ${PORTNAME} > > GNU_CONFIGURE= yes > >+CFLAGS+= -I${LOCALBASE}/ffmpeg4/include >+LDFLAGS+= -L${LOCALBASE}/ffmpeg4/lib >+CONFIGURE_ENV+= PKG_CONFIG_PATH="${LOCALBASE}/ffmpeg4/libdata/pkgconfig" >+MAKE_ENV+= PKG_CONFIG_PATH="${LOCALBASE}/ffmpeg4/libdata/pkgconfig" >+ > # Standard bsd.port.mk variables > SUB_FILES= pkg-message > >@@ -55,8 +60,9 @@ VIDEO_DESC= Video capture driver (Netcam support only if none selected) > WEBCAMD_DESC= Webcams using webcamd > > BKTR_CONFIGURE_WITH= bktr >-FFMPEG_LIB_DEPENDS= libavformat.so:multimedia/ffmpeg >-FFMPEG_CONFIGURE_ON= --with-ffmpeg=${LOCALBASE} >+ >+FFMPEG_LIB_DEPENDS= libavformat.so.58:multimedia/ffmpeg4 >+FFMPEG_CONFIGURE_ON= --with-ffmpeg=${LOCALBASE}/ffmpeg4 > FFMPEG_CONFIGURE_OFF= --without-ffmpeg > > MYSQL_USES= mysql
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 270295
: 241766