From e544b675d59b70cbd1981e1979b77da4af4aa858 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Thu, 26 Mar 2020 10:25:57 +0100 Subject: [PATCH] nasm: replaces primary arch on x86_gcc2 --- dev-lang/nasm/nasm-2.14.02.recipe | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dev-lang/nasm/nasm-2.14.02.recipe b/dev-lang/nasm/nasm-2.14.02.recipe index a7bc60dfb..6120da961 100644 --- a/dev-lang/nasm/nasm-2.14.02.recipe +++ b/dev-lang/nasm/nasm-2.14.02.recipe @@ -9,7 +9,7 @@ has strong support for macros." HOMEPAGE="https://www.nasm.us/" COPYRIGHT="1996-2018 The NASM Authors" LICENSE="BSD (2-clause)" -REVISION="1" +REVISION="2" SOURCE_URI="https://www.nasm.us/pub/nasm/releasebuilds/$portVersion/nasm-$portVersion.tar.bz2" CHECKSUM_SHA256="34fd26c70a277a9fdd54cb5ecf389badedaf48047b269d1008fbc819b24e80bc" PATCHES="nasm-$portVersion.patchset" @@ -32,6 +32,11 @@ PROVIDES=" REQUIRES=" haiku$secondaryArchSuffix " +if [ "$targetArchitecture" = x86_gcc2 ]; then + REPLACES=" + nasm + " +fi BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel