libxml2: also build python subpackage on x86_64

thank Begasus for reporting.
This commit is contained in:
Jerome Duval
2023-05-07 17:33:26 +02:00
parent 42748fa248
commit c0ef2897ae

View File

@@ -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="