From a16f9e58154ae3f71e01bed56bc9123ad597ceb6 Mon Sep 17 00:00:00 2001 From: fbrosson Date: Fri, 28 Sep 2018 02:59:40 +0000 Subject: [PATCH] sys-fs/ddrescue: drop commandSuffix, simplify PROVIDES. --- sys-fs/ddrescue/ddrescue-1.19.recipe | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sys-fs/ddrescue/ddrescue-1.19.recipe b/sys-fs/ddrescue/ddrescue-1.19.recipe index 7cdcd4a19..8b35dbfe5 100644 --- a/sys-fs/ddrescue/ddrescue-1.19.recipe +++ b/sys-fs/ddrescue/ddrescue-1.19.recipe @@ -12,19 +12,20 @@ COPYRIGHT=" LICENSE="GNU GPL v2" ARCHITECTURES="!x86_gcc2 x86 x86_64" +if [ "$targetArchitecture" = x86_gcc2 ]; then SECONDARY_ARCHITECTURES="x86" +fi + # On x86_gcc2 we don't want to install the commands in bin//, but in bin/. -commandSuffix=$secondaryArchSuffix commandBinDir=$binDir if [ "$targetArchitecture" = x86_gcc2 ]; then - commandSuffix= commandBinDir=$prefix/bin fi PROVIDES=" ddrescue$secondaryArchSuffix = $portVersion - cmd:ddrescue$commandSuffix = $portVersion - cmd:ddrescuelog$commandSuffix = $portVersion + cmd:ddrescue = $portVersion + cmd:ddrescuelog = $portVersion " REQUIRES=" haiku$secondaryArchSuffix