From 992e3fe50c866b4bdb08eb9c4760f3f4db20c5f4 Mon Sep 17 00:00:00 2001 From: fbrosson Date: Fri, 28 Sep 2018 00:53:05 +0000 Subject: [PATCH] iASL: drop commandSuffix, simplify PROVIDES. Idea from @alaviss if [ "$targetArchitecture" = x86_gcc2 ]; then SECONDARY_ARCHITECTURES="x86" fi --- sys-power/iasl/iasl-20180810.recipe | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/sys-power/iasl/iasl-20180810.recipe b/sys-power/iasl/iasl-20180810.recipe index 1bccfe908..ccc3438f7 100644 --- a/sys-power/iasl/iasl-20180810.recipe +++ b/sys-power/iasl/iasl-20180810.recipe @@ -16,27 +16,27 @@ CHECKSUM_SHA256_2="9ef27f6450b3045f1ccf3b5c90edf0e8b23c80ca9571023ceccb9f5681b4d SOURCE_DIR_2="acpitests-unix-$portVersion" 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=" iasl$secondaryArchSuffix = $portVersion - cmd:acpibin$commandSuffix = $portVersion - cmd:acpidump$commandSuffix = $portVersion - cmd:acpiexamples$commandSuffix = $portVersion - cmd:acpiexec$commandSuffix = $portVersion - cmd:acpihelp$commandSuffix = $portVersion - cmd:acpinames$commandSuffix = $portVersion - cmd:acpisrc$commandSuffix = $portVersion - cmd:acpixtract$commandSuffix = $portVersion - cmd:iasl$commandSuffix = $portVersion + cmd:acpibin = $portVersion + cmd:acpidump = $portVersion + cmd:acpiexamples = $portVersion + cmd:acpiexec = $portVersion + cmd:acpihelp = $portVersion + cmd:acpinames = $portVersion + cmd:acpisrc = $portVersion + cmd:acpixtract = $portVersion + cmd:iasl = $portVersion " REQUIRES=" haiku$secondaryArchSuffix