aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mythtv/files/patch-configure
blob: 51e073a0caa6910dc6fba27384b333cea56ddeb5 (plain) (blame)
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
--- configure.orig  2009-10-09 00:30:46.000000000 +0200
+++ configure   2009-12-02 19:24:10.000000000 +0100
@@ -633,21 +633,21 @@
     log check_cc "$@"
     cat > $TMPC
     log_file $TMPC
-    check_cmd $cc $CFLAGS $ECFLAGS $OPTFLAGS "$@" -c -o $TMPO $TMPC
+    check_cmd $cc $CFLAGS $ECFLAGS $OPTFLAGS -I${prefix}/include "$@" -c -o $TMPO $TMPC
 }
 
 check_cpp(){
     log check_cpp "$@"
     cat > $TMPC
     log_file $TMPC
-    check_cmd $cc $CFLAGS $ECFLAGS $OPTFLAGS "$@" -E -o $TMPO $TMPC
+    check_cmd $cc $CFLAGS $ECFLAGS $OPTFLAGS -I${prefix}/include "$@" -E -o $TMPO $TMPC
 }
 
 check_cxx(){
     log check_cxx "$@"
     cat > $TMPCXX
     log_file $TMPCXX
-    check_cmd $cxx $ECXXFLAGS "$@" -c -o $TMPO $TMPCXX
+    check_cmd $cxx $ECXXFLAGS -I${prefix}/include "$@" -c -o $TMPO $TMPCXX
 }
 
 check_as(){
@@ -2174,7 +2174,6 @@
         append CCONFIG "freebsd"
         # Workaround compile errors from missing u_int/uint def
         CFLAGS=`echo $CFLAGS | sed 's/-D_POSIX_C_SOURCE=200112//'`
-        disable ivtv
         disable need_memalign
         enable backend
         ;;
@@ -4254,6 +4253,8 @@
 #       directories, it cannot be modified.
 QMAKE_LIBDIR_QT -= $libdir
 LATE_LIBS            += -L$libdir
+CONFIG_INCLUDEPATH=
+FREETYPE_CFLAGS -= -I/usr/local/include
 EOF
 
 diff $TMPH $MYTH_CONFIG_H >/dev/null 2>&1