Files
pkgsrc-ng/multimedia/gst-plugins1-libav/patches/patch-configure
2016-11-18 22:39:22 +01:00

26 lines
1.0 KiB
Plaintext

$NetBSD: patch-configure,v 1.4 2016/09/12 09:00:10 wiz Exp $
Allow building with python 3.4 and 3.5.
Fix unportable test(1) operator.
--- configure.orig 2016-08-19 08:23:15.000000000 +0000
+++ configure
@@ -15505,7 +15505,7 @@ fi
# Find any Python interpreter.
if test -z "$PYTHON"; then
- for ac_prog in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
+ for ac_prog in python python2 python3 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
@@ -17622,7 +17622,7 @@ fi
--disable-nvenc --disable-mmal --disable-libmfx \
--disable-iconv --enable-optimizations"
- if test "x$enable_gpl" == "xyes"; then
+ if test "x$enable_gpl" = "xyes"; then
emblibav_configure_args="$emblibav_configure_args --enable-gpl"
fi