From c0ef2897aef89eccb5c651b1ed713f897eb2e5df Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Sun, 7 May 2023 17:33:26 +0200 Subject: [PATCH] libxml2: also build python subpackage on x86_64 thank Begasus for reporting. --- dev-libs/libxml2/libxml2-2.10.4.recipe | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/dev-libs/libxml2/libxml2-2.10.4.recipe b/dev-libs/libxml2/libxml2-2.10.4.recipe index e2156df5c..7bdba9c1d 100644 --- a/dev-libs/libxml2/libxml2-2.10.4.recipe +++ b/dev-libs/libxml2/libxml2-2.10.4.recipe @@ -10,7 +10,7 @@ available in other environments." HOMEPAGE="http://www.xmlsoft.org/" COPYRIGHT="1998-2013 Daniel Veillard. All Rights Reserved." LICENSE="MIT" -REVISION="1" +REVISION="2" SOURCE_URI="https://download.gnome.org/sources/libxml2/2.10/libxml2-$portVersion.tar.xz" CHECKSUM_SHA256="ed0c91c5845008f1936739e4eee2035531c1c94742c6541f44ee66d885948d45" PATCHES="libxml2-$portVersion.patchset" @@ -19,8 +19,14 @@ ARCHITECTURES="all" SECONDARY_ARCHITECTURES="x86" pythonModuleEnabled=false -if [ "$targetArchitecture" = x86_gcc2 ] && [ -n "$secondaryArchSuffix" ]; then - pythonModuleEnabled=true +if [ "$targetArchitecture" = x86_gcc2 ]; then + if [ -n "$secondaryArchSuffix" ]; then + pythonModuleEnabled=true + fi +else + if [ -z "$secondaryArchSuffix" ]; then + pythonModuleEnabled=true + fi fi PROVIDES="