summaryrefslogtreecommitdiff
path: root/package/ffmpeg/patches/patch-configure
blob: 5ff0e14c8a24c3bf0299769bf8faaf9a8796f682 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
--- ffmpeg-0.5.orig/configure	2009-03-01 18:57:14.000000000 +0100
+++ ffmpeg-0.5/configure	2010-01-06 20:34:48.343750000 +0100
@@ -1167,7 +1167,7 @@ arch=`uname -m`
 cpu="generic"
 
 # OS
-target_os=$(tolower $(uname -s))
+target_os=linux
 
 # configurable options
 enable debug
@@ -2486,51 +2486,6 @@ cmp -s $TMPH config.h &&
 
 rm -f $TMPC $TMPE $TMPH $TMPO $TMPS $TMPSH
 
-# build tree in object directory if source path is different from current one
-if enabled source_path_used; then
-    DIRS="\
-        doc               \
-        libavcodec        \
-        libavcodec/alpha  \
-        libavcodec/arm    \
-        libavcodec/bfin   \
-        libavcodec/mlib   \
-        libavcodec/ppc    \
-        libavcodec/sh4    \
-        libavcodec/sparc  \
-        libavcodec/x86    \
-        libavdevice       \
-        libavfilter       \
-        libavformat       \
-        libavutil         \
-        libpostproc       \
-        libswscale        \
-        tests             \
-        tools             \
-        vhook             \
-        "
-    FILES="\
-        Makefile             \
-        common.mak           \
-        subdir.mak           \
-        doc/texi2pod.pl      \
-        libavcodec/Makefile  \
-        libavdevice/Makefile \
-        libavfilter/Makefile \
-        libavformat/Makefile \
-        libavutil/Makefile   \
-        libpostproc/Makefile \
-        libswscale/Makefile  \
-        "
-    for dir in $DIRS ; do
-        mkdir -p $dir
-    done
-    for f in $FILES ; do
-        $ln_s "$source_path/$f" $f
-    done
-fi
-
-
 # build pkg-config files
 
 pkgconfig_generate(){