From cd4d6851cf2cb0fd55cbb79ef9a9c156754340b6 Mon Sep 17 00:00:00 2001 From: fbrosson Date: Fri, 28 Sep 2018 02:59:36 +0000 Subject: [PATCH] dev-libs/nsgenbind: drop commandSuffix, simplify PROVIDES. --- dev-libs/nsgenbind/nsgenbind-0.6.recipe | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/dev-libs/nsgenbind/nsgenbind-0.6.recipe b/dev-libs/nsgenbind/nsgenbind-0.6.recipe index 8696d8fee..3aef1a445 100644 --- a/dev-libs/nsgenbind/nsgenbind-0.6.recipe +++ b/dev-libs/nsgenbind/nsgenbind-0.6.recipe @@ -9,18 +9,13 @@ SOURCE_URI="https://download.netsurf-browser.org/libs/releases/nsgenbind-$portVe CHECKSUM_SHA256="92f75414635b857abd9a4e2c119a517e797d247df5db30284e3dbaf273582c6c" ARCHITECTURES="!x86_gcc2 x86 x86_64" -SECONDARY_ARCHITECTURES="x86" - -commandSuffix=$secondaryArchSuffix -commandBinDir=$binDir if [ "$targetArchitecture" = x86_gcc2 ]; then - commandSuffix= - commandBinDir=$prefix/bin +SECONDARY_ARCHITECTURES="x86" fi PROVIDES=" nsgenbind$secondaryArchSuffix = $portVersion - cmd:nsgenbind$commandSuffix = $portVersion + cmd:nsgenbind = $portVersion " REQUIRES=" haiku$secondaryArchSuffix @@ -45,10 +40,6 @@ BUILD() INSTALL() { make install PREFIX="$prefix" NSSHARED=/system/data/netsurf-buildsystem - if [ -n "$secondaryArchSuffix" -a -n "$commandSuffix" ]; then - mkdir -p "$binDir" - mv "$prefix/bin/nsgenbind" "$binDir"/nsgenbind - fi } TEST()