pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/ffmpeg3 ffmpeg3: pkg-config is needed to fi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9e3b2c9bb7e1
branches:  trunk
changeset: 313404:9e3b2c9bb7e1
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Sep 29 14:28:24 2018 +0000

description:
ffmpeg3: pkg-config is needed to find libxml2, so it is always needed

(this fixes ffplay3)

diffstat:

 multimedia/ffmpeg3/Makefile.common |  4 ++--
 multimedia/ffmpeg3/options.mk      |  6 +-----
 2 files changed, 3 insertions(+), 7 deletions(-)

diffs (59 lines):

diff -r b2c5aec8b39f -r 9e3b2c9bb7e1 multimedia/ffmpeg3/Makefile.common
--- a/multimedia/ffmpeg3/Makefile.common        Sat Sep 29 14:25:39 2018 +0000
+++ b/multimedia/ffmpeg3/Makefile.common        Sat Sep 29 14:28:24 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.31 2018/07/31 19:13:10 rjs Exp $
+# $NetBSD: Makefile.common,v 1.32 2018/09/29 14:28:24 tnn Exp $
 # used by multimedia/ffmpeg3/Makefile
 # used by multimedia/ffplay3/Makefile
 
@@ -13,7 +13,7 @@
 
 USE_LANGUAGES=         c99
 USE_LIBTOOL=           yes
-USE_TOOLS+=            gmake pod2man perl
+USE_TOOLS+=            gmake pod2man perl pkg-config
 HAS_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --cc=${CC:Q}
 CONFIGURE_ARGS+=       --disable-debug
diff -r b2c5aec8b39f -r 9e3b2c9bb7e1 multimedia/ffmpeg3/options.mk
--- a/multimedia/ffmpeg3/options.mk     Sat Sep 29 14:25:39 2018 +0000
+++ b/multimedia/ffmpeg3/options.mk     Sat Sep 29 14:28:24 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.13 2018/09/25 09:46:09 wiz Exp $
+# $NetBSD: options.mk,v 1.14 2018/09/29 14:28:24 tnn Exp $
 
 # Global and legacy options
 
@@ -29,7 +29,6 @@
 
 # Fontconfig
 .if !empty(PKG_OPTIONS:Mfontconfig)
-USE_TOOLS+=            pkg-config
 CONFIGURE_ARGS+=       --enable-fontconfig
 .include "../../fonts/fontconfig/buildlink3.mk"
 .else
@@ -38,7 +37,6 @@
 
 # freetype option
 .if !empty(PKG_OPTIONS:Mfreetype)
-USE_TOOLS+=            pkg-config
 CONFIGURE_ARGS+=       --enable-libfreetype
 .include "../../graphics/freetype2/buildlink3.mk"
 .else
@@ -47,7 +45,6 @@
 
 # ass option
 .if !empty(PKG_OPTIONS:Mass)
-USE_TOOLS+=            pkg-config
 CONFIGURE_ARGS+=       --enable-libass
 .include "../../multimedia/libass/buildlink3.mk"
 .else
@@ -109,7 +106,6 @@
 
 # RTMP support via librtmp
 .if !empty(PKG_OPTIONS:Mrtmp)
-USE_TOOLS+=            pkg-config
 CONFIGURE_ARGS+=       --enable-librtmp
 .include "../../net/rtmpdump/buildlink3.mk"
 .endif



Home | Main Index | Thread Index | Old Index