diff --git a/app-text/unrtf/unrtf-0.21.9.recipe b/app-text/unrtf/unrtf-0.21.9.recipe index 5d431a6ca..45b3d8b7b 100644 --- a/app-text/unrtf/unrtf-0.21.9.recipe +++ b/app-text/unrtf/unrtf-0.21.9.recipe @@ -10,17 +10,18 @@ SOURCE_URI="https://www.gnu.org/software/unrtf/unrtf-$portVersion.tar.gz" CHECKSUM_SHA256="22a37826f96d754e335fb69f8036c068c00dd01ee9edd9461a36df0085fb8ddd" 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=" unrtf$secondaryArchSuffix = $portVersion - cmd:unrtf = $portVersion + cmd:unrtf$commandSuffix = $portVersion " REQUIRES=" haiku$secondaryArchSuffix