contrib: avoid Darwin patch on other systems
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 29 Aug 2009 15:39:45 +0000 (18:39 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 29 Aug 2009 15:39:45 +0000 (18:39 +0300)
extras/contrib/src/Makefile

index 77a3919..57bad21 100644 (file)
@@ -982,11 +982,13 @@ ffmpeg:
 ifdef HAVE_WINCE
        patch -p1 < Patches/ffmpeg-svn-wince.patch
 endif
+ifdef HAVE_DARWIN_OS
 ifdef HAVE_DARWIN_OS_ON_INTEL
        (cd $@; patch -p0 < ../Patches/ffmpeg-macosx-intel-mmx.patch)
 else
        (cd $@; patch -p0 < ../Patches/ffmpeg-darwin-ppc-mdynamic.patch) 
 endif
+endif
 ifdef HAVE_UCLIBC
        patch -p0 < Patches/ffmpeg-svn-uclibc.patch
        patch -p0 < Patches/ffmpeg-svn-internal-define.patch