[Bug 277971] emulators/vice: configure fails with FFMPEG option set

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 26 Mar 2024 08:12:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277971

            Bug ID: 277971
           Summary: emulators/vice: configure fails with FFMPEG option set
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: dinoex@FreeBSD.org
          Reporter: discipline@tiscali.it
             Flags: maintainer-feedback?(dinoex@FreeBSD.org)
          Assignee: dinoex@FreeBSD.org

checking for FFMPEG support... checking pkg-config is at least version 0.9.0...
yes
via pkg-config
checking for FFMPEG_AV... yes
checking for libavformat/avformat.h... yes
checking for FFMPEG_SWSCALE... yes
checking for FFMPEG_SWRESAMPLE... yes
configure: error: ffmpeg version is not compatible. Use 4.x
===>  Script "configure" failed unexpectedly.

It seems that vice wants ffmpeg 4.x but configure finds compiler and linker
flags for ffmpeg which is ffmpeg 6.x (multimedia/ffmpeg and multimedia/ffmpeg4
ports are both installed).
Also note that multimedia/ffmpeg is unconditionally listed in LIB_DEPENDS.

-- 
You are receiving this mail because:
You are the assignee for the bug.