diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/mythtv/mythtv-0.20/configure.patch | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/mythtv/mythtv-0.20/configure.patch')
-rw-r--r-- | packages/mythtv/mythtv-0.20/configure.patch | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/packages/mythtv/mythtv-0.20/configure.patch b/packages/mythtv/mythtv-0.20/configure.patch deleted file mode 100644 index 03281eb7e5..0000000000 --- a/packages/mythtv/mythtv-0.20/configure.patch +++ /dev/null @@ -1,90 +0,0 @@ ---- mythtv-0.20/configure 2006-08-28 17:18:08.000000000 +0100 -+++ mythtv-0.20/configure 2007-01-16 14:42:18.000000000 +0000 -@@ -1225,49 +1225,50 @@ - - has_library() - { -- if test -f /etc/ld.so.conf ; then -- LIBPATHS=`cat /etc/ld.so.conf | grep -v "#" | grep -v "include"` -+ lib=`echo $1 | sed 's/^lib//'` -+ tmpfile=/tmp/conftest.$$ -+ rm -f $tmpfile $tmpfile.c -+ cat >$tmpfile.c <<EOF -+int main() { return 0; } -+EOF -+ echo "cc=$cc $LDFLAGS" -+ echo -n "checking for lib$lib... " -+ if $cc $LDFLAGS -o $tmpfile $tmpfile.c -l$lib; then -+ echo "yes" -+ result=0 - else -- LIBPATHS='' -+ echo "no" -+ result=1 - fi -- LIBPATHS="$LIBPATHS `echo $LD_LIBRARY_PATH | sed s/':'/' '/g` " -- # Mac OS X has a different variable for this: -- LIBPATHS="$LIBPATHS `echo $DYLD_LIBRARY_PATH | sed s/':'/' '/g` " -- -- # recurse down just one level, should be enough in most cases -- if test -f /etc/ld.so.conf ; then -- INCL=`cat /etc/ld.so.conf | grep -v "#" | grep "^include"` -- SRCH=`echo "$INCL" | sed '{ s/^include \//\//; s/^include /\/etc\//}'` -- for x in $SRCH ; do -- LP_APPEND=`cat $x | grep -v "#" | grep -v "^include"` -- LIBPATHS="$LIBPATHS $LP_APPEND" -- done -- fi -- -- LIBPATHS="`echo $LIBPATHS /$libdir_name /usr/$libdir_name /usr/local/$libdir_name /usr/X11R6/$libdir_name | sed s/'\/ '/' '/g` " -- -- HAS_IT="no" -- for LIBPATH in $LIBPATHS ; do -- if test x`ls $LIBPATH/$1* 2> /dev/null | head -n 1` != x"" ; then -- HAS_IT="yes" -- fi -- done -- expr $HAS_IT : "yes" > /dev/null -+ rm -f $tmpfile $tmpfile.c -+ return $result - } - - has_header() - { -- HPATHS="/usr/local/include /usr/include /usr/include/g++-v3 /usr/X11R6/include" -- INCL=`echo $DYLD_LIBRARY_PATH $LD_LIBRARY_PATH | sed s/':'/' '/g` -- HPATHS="$HPATHS `echo $INCL | sed s/$libdir_name/include/g` " -- -- HAS_IT="no" -- for HPATH in $HPATHS ; do -- if test x`ls $HPATH/$1* 2> /dev/null | head -n 1` != x"" ; then -- HAS_IT="yes" -- fi -- done -- expr $HAS_IT : "yes" > /dev/null -+ header=$1 -+ tmpfile=/tmp/conftest.$$ -+ rm -f $tmpfile.o $tmpfile.c -+ case $header in -+ X11/*) extra_incs="#include <X11/Xlib.h>" ;; -+ *) extra_incs="" ;; -+ esac -+ cat >$tmpfile.c <<EOF -+$extra_incs -+#include <$header> -+int main() { return 0; } -+EOF -+ echo "cc=$cc $CPPFLAGS $CFLAGS" -+ echo -n "checking for <$header>... " -+ if $cc $CPPFLAGS $CFLAGS -c -o $tmpfile.o $tmpfile.c; then -+ echo "yes" -+ result=0 -+ else -+ echo "no" -+ result=1 -+ fi -+ rm -f $tmpfile.o $tmpfile.c -+ return $result - } - - CCONFIG="$CCONFIG $compile_type" |