On Fri, Jul 6, 2012 at 2:29 AM, Mikolaj Kucharski
<miko...@kucharski.name> wrote:
> Hi,
>
> Port emulators/vbam fails to build when ffmpeg is not installed:
>
> -- checking for modules 'libavcodec;libavformat;libswscale;libavutil'
> --   package 'libavcodec' not found
> --   package 'libavformat' not found
> --   package 'libswscale' not found
> --   package 'libavutil' not found
> CMake Error at /usr/local/share/cmake/Modules/FindPkgConfig.cmake:279 
> (message):
>   A required package was not found
> Call Stack (most recent call first):
>   /usr/local/share/cmake/Modules/FindPkgConfig.cmake:333 
> (_pkg_check_modules_internal)
>   CMakeLists.txt:99 (PKG_CHECK_MODULES)
>
> After pkg_add ffmpeg build finishes successfully. I don't see that actually
> ffmpeg is used by vbam (I don't see anything linked with it), so I think
> it could be disabled. Not sure is revision bump needed here.
>
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/emulators/vbam/Makefile,v
> retrieving revision 1.2
> diff -u -r1.2 Makefile
> --- Makefile    15 Jun 2012 08:32:15 -0000      1.2
> +++ Makefile    6 Jul 2012 00:20:29 -0000
> @@ -42,7 +42,7 @@
>  WRKDIST =              ${WRKDIR}/${DISTNAME:S/-src//}
>
>  # requires posix_openpt
> -CONFIGURE_ARGS +=      -DENABLE_WX=OFF
> +CONFIGURE_ARGS +=      -DENABLE_WX=OFF -DENABLE_FFMPEG=OFF
>
>  VMEM_WARNING =         Yes
>
>
> Build log available at:
>
> http://www.kucharski.name/pub/ports/vbam-1.8.0.1054p0.log-fail.gz

ok for me

cheers,
david

Reply via email to