1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/multimedia/mythtv/files/patch-external__FFmpeg__configure
Bernhard Froehlich 966c4738ff - Update to 0.24
- Add BINDINGS option (python only, perl not working yet)
- Add qt4-imageformats dependency for tmdb and ttvdb to get metadata images working
- Remove MD5 checksum
2011-01-04 17:45:25 +00:00

32 lines
879 B
Plaintext

--- external/FFmpeg/configure.orig 2010-08-23 18:54:20.000000000 +0200
+++ external/FFmpeg/configure 2010-11-01 21:13:19.000000000 +0100
@@ -1528,8 +1528,8 @@
nm_opts='-g'
# machine
-arch_default=$(uname -m)
-cpu="generic"
+arch_default=$(uname -p)
+cpu="i686"
# OS
target_os_default=$(tolower $(uname -s))
@@ -2108,7 +2108,7 @@
i686|pentiumpro|pentium[23]|pentium-m|athlon|athlon-tbird|athlon-4|athlon-[mx]p|athlon64|k8|opteron|athlon-fx|core2|amdfam10|barcelona)
cpuflags="-march=$cpu"
enable cmov
- enable fast_cmov
+ disable fast_cmov
;;
# targets that do support conditional mov but on which it's slow
pentium4|pentium4m|prescott|nocona)
@@ -3063,7 +3063,7 @@
SRC_PATH_BARE=$source_path
BUILD_ROOT="$PWD"
CC_IDENT=$cc_ident
-ARCH=$arch
+FFMPEG_ARCH=$arch
CC=$cc
AS=$as
LD=$ld