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