From patchwork Wed May 4 15:56:58 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: x264_r2245: fix DEPENDS for x86 Date: Wed, 04 May 2011 15:56:58 -0000 From: Bob Foerster X-Patchwork-Id: 3191 Message-Id: <1304524618-4864-1-git-send-email-robert@erafx.com> To: openembedded-devel@lists.openembedded.org The recipe intended to add "yasm-native" to the dependencies on x86, but it set DEPENDS_x86 = "yasm-native" which obliterated the base dependencies. On a fresh build, this package was failing since it was trying to build before the compiler was ready. Depends is now set with DEPENDS_append_x86, which leaves the base dependencies intact. Signed-off-by: Bob Foerster --- recipes/vlc/x264_r2245.bb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/recipes/vlc/x264_r2245.bb b/recipes/vlc/x264_r2245.bb index 0cffea3..8c2b5b4 100644 --- a/recipes/vlc/x264_r2245.bb +++ b/recipes/vlc/x264_r2245.bb @@ -23,7 +23,7 @@ X264_ECFLAGS_mipsel = "-fPIC" X264_DISABLE_ASM = "--disable-asm" # use assembler written functions for those archs supporting this X264_DISABLE_ASM_x86 = "" -DEPENDS_x86 = "yasm-native" +DEPENDS_append_x86 = "yasm-native" EXTRA_OECONF = '--enable-shared ${X264_DISABLE_ASM} --extra-cflags="${X264_ECFLAGS}"'