From 3b31a1c8f4d9048022285547108878eff37213c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Mon, 28 Jul 2014 14:51:14 +0200 Subject: [PATCH] lame: Fix build for secondary arch --- media-sound/lame/lame-3.99.5.recipe | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/media-sound/lame/lame-3.99.5.recipe b/media-sound/lame/lame-3.99.5.recipe index f8938b3db..23303d769 100644 --- a/media-sound/lame/lame-3.99.5.recipe +++ b/media-sound/lame/lame-3.99.5.recipe @@ -27,11 +27,11 @@ if [ -z "$secondaryArchSuffix" ]; then " fi REQUIRES=" - haiku >= $haikuVersion + haiku$secondaryArchSuffix >= $haikuVersion lib:libiconv$secondaryArchSuffix " BUILD_REQUIRES=" - haiku_devel >= $haikuVersion + haiku${secondaryArchSuffix}_devel >= $haikuVersion devel:libiconv$secondaryArchSuffix " BUILD_PREREQUIRES=" @@ -82,6 +82,9 @@ BUILD() INSTALL() { make install + if [ -n "$secondaryArchSuffix" ]; then + rm $binDir/lame + fi # prepare devel/lib prepareInstalledDevelLibs libmp3lame