gettext: Bump to 0.21.1 and fix compat declarations.

Now it can be installed without causing all sorts of problems.
This commit is contained in:
Augustin Cavalier
2022-12-06 12:37:33 -05:00
parent 0bf1e1535c
commit 27a18180ca

View File

@@ -16,13 +16,13 @@ COPYRIGHT="1998-2020 Free Software Foundation, Inc."
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="https://ftpmirror.gnu.org/gettext/gettext-$portVersion.tar.xz"
CHECKSUM_SHA256="d20fcbb537e02dcf1383197ba05bd0734ef7bf5db06bdb241eb69b7d16b73192"
CHECKSUM_SHA256="50dbc8f39797950aa2c98e939947c527e5ac9ebd2c1b99dd7b06ba33a6767ae6"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
gettext$secondaryArchSuffix = $portVersion compat >= 0.21
gettext$secondaryArchSuffix = $portVersion compat >= 0.19.8.1
lib:libasprintf$secondaryArchSuffix = 0.0.0 compat >= 0
lib:libgettextlib_$portVersion$secondaryArchSuffix
lib:libgettextpo$secondaryArchSuffix = 0.5.7 compat >= 0
@@ -63,6 +63,16 @@ if [ "$effectiveTargetArchitecture" != x86_gcc2 ]; then
"
fi
SUMMARY_libintl="The gettext internationalization library"
PROVIDES_libintl="
gettext${secondaryArchSuffix}_libintl = $portVersion compat >= 0.21
lib:libintl$secondaryArchSuffix = 8.2.0 compat >= 8
"
REQUIRES_libintl="
haiku$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
"
PROVIDES_devel="
gettext${secondaryArchSuffix}_devel = $portVersion compat >= 0.21
devel:libasprintf$secondaryArchSuffix = 0.0.0 compat >= 0
@@ -78,16 +88,6 @@ REQUIRES_devel="
gettext$secondaryArchSuffix == $portVersion base
"
SUMMARY_libintl="The gettext internationalization library"
PROVIDES_libintl="
gettext${secondaryArchSuffix}_libintl = $portVersion compat >= 0.21
lib:libintl$secondaryArchSuffix = 8.2.0 compat >= 8
"
REQUIRES_libintl="
haiku$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libiconv$secondaryArchSuffix