From f64481c77fbfa2baf210f9ffefc9767c6a955930 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Mon, 5 Feb 2024 21:10:22 +0100 Subject: [PATCH] nextcloud_client, fix variable $commandBinDir (#10053) --- .../nextcloud-client/nextcloud_client-3.11.1.recipe | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/net-misc/nextcloud-client/nextcloud_client-3.11.1.recipe b/net-misc/nextcloud-client/nextcloud_client-3.11.1.recipe index d867d0b61..7074f1825 100644 --- a/net-misc/nextcloud-client/nextcloud_client-3.11.1.recipe +++ b/net-misc/nextcloud-client/nextcloud_client-3.11.1.recipe @@ -3,7 +3,7 @@ DESCRIPTION="This Nextcloud client is a tool to synchronize files with a Nextclo HOMEPAGE="https://nextcloud.com" COPYRIGHT="Nextcloud GmbH" LICENSE="GNU GPL v2" -REVISION="1" +REVISION="2" SOURCE_URI="https://github.com/nextcloud/desktop/archive/refs/tags/v$portVersion.tar.gz" CHECKSUM_SHA256="9f60a6707d31e82357780dff11168ede88d1f859481a22f2d04c827e656f3fba" SOURCE_DIR="desktop-$portVersion" @@ -13,6 +13,14 @@ ADDITIONAL_FILES="nextcloud_client.rdef.in" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" +# On x86_gcc2 we don't want to install the commands in bin//, but in bin/. +commandBinDir=$binDir +commandSuffix=$secondaryArchSuffix +if [ "$targetArchitecture" = x86_gcc2 ]; then + commandSuffix= + commandBinDir=$prefix/bin +fi + libVersion="$portVersion" libVersionCompat="$libVersion compat >= ${libVersion%%.*}"