libxml2: Disable 2.14.

This commit is contained in:
waddlesplash
2025-08-29 12:48:06 -04:00
committed by GitHub
parent 90c4a93943
commit 15f113076c

View File

@@ -18,8 +18,10 @@ SOURCE_URI_2="https://www.w3.org/XML/Test/xmlts20130923.tar.gz"
CHECKSUM_SHA256_2="9b61db9f5dbffa545f4b8d78422167083a8568c59bd1129f94138f936cf6fc1f"
PATCHES="libxml2_2.14-$portVersion.patchset"
ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="x86"
# disabled: not ABI compatible with 2.12 and can't be mixed with it
# wait for beta6 to activate, then rebuild all packages
ARCHITECTURES="!all"
SECONDARY_ARCHITECTURES="!x86"
libVersion="16.0.5"
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
@@ -36,7 +38,7 @@ else
fi
PROVIDES="
libxml2_2.14$secondaryArchSuffix = $portVersion compat >= 2
libxml2$secondaryArchSuffix = $portVersion compat >= 2
lib:libxml2$secondaryArchSuffix = $libVersionCompat
"
if [ -z "$secondaryArchSuffix" ]; then
@@ -52,12 +54,12 @@ REQUIRES="
"
PROVIDES_devel="
libxml2_2.14${secondaryArchSuffix}_devel = $portVersion
libxml2${secondaryArchSuffix}_devel = $portVersion
cmd:xml2_config$secondaryArchSuffix = $portVersion compat >= 2
devel:libxml2$secondaryArchSuffix = $libVersionCompat
"
REQUIRES_devel="
libxml2_2.14$secondaryArchSuffix == $portVersion base
libxml2$secondaryArchSuffix == $portVersion base
devel:libiconv$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
@@ -68,15 +70,15 @@ CONFLICTS_devel="
if $pythonModuleEnabled; then
SUMMARY_python="The python module for libxml2"
PROVIDES_python="
libxml2_2.14${secondaryArchSuffix}_python = $portVersion
libxml2${secondaryArchSuffix}_python = $portVersion
"
if [ -n "$secondaryArchSuffix" ]; then
PROVIDES_python+="
libxml2_2.14_python = $portVersion
libxml2_python = $portVersion
"
fi
REQUIRES_python="
libxml2_2.14$secondaryArchSuffix == $portVersion base
libxml2$secondaryArchSuffix == $portVersion base
haiku$secondaryArchSuffix
lib:libz$secondaryArchSuffix
cmd:python3