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