From ec69bbc09e19ef5370c6dd905eab25c699fc8aae Mon Sep 17 00:00:00 2001 From: fbrosson Date: Sat, 16 Jun 2018 03:33:50 +0000 Subject: [PATCH] mpg321: add commandSuffix. (#2690) --- media-sound/mpg321/mpg321-0.3.2.recipe | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/media-sound/mpg321/mpg321-0.3.2.recipe b/media-sound/mpg321/mpg321-0.3.2.recipe index 0fc326f47..a18416bc1 100644 --- a/media-sound/mpg321/mpg321-0.3.2.recipe +++ b/media-sound/mpg321/mpg321-0.3.2.recipe @@ -13,17 +13,18 @@ SOURCE_DIR="mpg321-$portVersion-orig" PATCHES="mpg321-$portVersion.patchset" ARCHITECTURES="!x86_gcc2 x86 x86_64" -SECONDARY_ARCHITECTURES="!x86_gcc2 x86" +SECONDARY_ARCHITECTURES="x86" -if [ "$targetArchitecture" != x86_gcc2 ]; then - commandBinDir=$binDir -else +commandSuffix=$secondaryArchSuffix +commandBinDir=$binDir +if [ "$targetArchitecture" = x86_gcc2 ]; then + commandSuffix= commandBinDir=$prefix/bin fi PROVIDES=" mpg321$secondaryArchSuffix = $portVersion - cmd:mpg321 = $portVersion + cmd:mpg321$commandSuffix = $portVersion " REQUIRES=" haiku$secondaryArchSuffix