From b931af4c302960af4e839c06e7bade167fa24ce9 Mon Sep 17 00:00:00 2001 From: fbrosson Date: Sat, 16 Jun 2018 03:33:46 +0000 Subject: [PATCH] unrtf: add commandSuffix. (#2690) --- app-text/unrtf/unrtf-0.21.9.recipe | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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