From bb9e6c8fab7606f6107f44b60e0c80cebda3041b Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 14 Aug 2014 19:18:51 +0000 Subject: Fix ffmpeg detection. --- multimedia/ffmpegthumbs/distinfo | 3 ++- .../ffmpegthumbs/patches/patch-cmake_FindFFmpeg.cmake | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 multimedia/ffmpegthumbs/patches/patch-cmake_FindFFmpeg.cmake diff --git a/multimedia/ffmpegthumbs/distinfo b/multimedia/ffmpegthumbs/distinfo index fd0fe15c009..502a9bbda35 100644 --- a/multimedia/ffmpegthumbs/distinfo +++ b/multimedia/ffmpegthumbs/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.4 2014/02/01 02:20:51 markd Exp $ +$NetBSD: distinfo,v 1.5 2014/08/14 19:18:51 wiz Exp $ SHA1 (ffmpegthumbs-4.11.5.tar.xz) = 8637cb229a092ec1b106b5cc34e93108562f281e RMD160 (ffmpegthumbs-4.11.5.tar.xz) = 3104ec45e932022cf91e480783d970dd64306b6a Size (ffmpegthumbs-4.11.5.tar.xz) = 20280 bytes +SHA1 (patch-cmake_FindFFmpeg.cmake) = a133f34859e9faa84ed6fd8bde00bfa2545e577d diff --git a/multimedia/ffmpegthumbs/patches/patch-cmake_FindFFmpeg.cmake b/multimedia/ffmpegthumbs/patches/patch-cmake_FindFFmpeg.cmake new file mode 100644 index 00000000000..55df91183b2 --- /dev/null +++ b/multimedia/ffmpegthumbs/patches/patch-cmake_FindFFmpeg.cmake @@ -0,0 +1,15 @@ +$NetBSD: patch-cmake_FindFFmpeg.cmake,v 1.1 2014/08/14 19:18:51 wiz Exp $ + +Fix ffmpeg detection. + +--- cmake/FindFFmpeg.cmake.orig 2014-01-02 19:34:11.000000000 +0000 ++++ cmake/FindFFmpeg.cmake +@@ -62,7 +62,7 @@ macro(find_component _component _pkgconf + # in the FIND_PATH() and FIND_LIBRARY() calls + find_package(PkgConfig) + if (PKG_CONFIG_FOUND) +- pkg_check_modules(PC_${_component} ${_pkgconfig}) ++ pkg_check_modules(PC_LIB${_component} ${_pkgconfig}) + endif () + endif (NOT WIN32) + -- cgit v1.2.3