From: Bruno Haible Date: Fri, 19 Jul 2024 02:08:16 +0000 (+0200) Subject: lang-librep: Avoid FAIL on FreeBSD, NetBSD. X-Git-Tag: v0.23~242 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a886347585dc15f67da39852a482792b9d0ff08a;p=thirdparty%2Fgettext.git lang-librep: Avoid FAIL on FreeBSD, NetBSD. * gettext-tools/tests/lang-librep: On FreeBSD and NetBSD, don't test the ISO-8859-1 locale. --- diff --git a/gettext-tools/tests/lang-librep b/gettext-tools/tests/lang-librep index db314a908..31bf926fb 100755 --- a/gettext-tools/tests/lang-librep +++ b/gettext-tools/tests/lang-librep @@ -72,6 +72,11 @@ esac # Test which of the fr_FR locales are installed. : ${LOCALE_FR=fr_FR} : ${LOCALE_FR_UTF8=fr_FR.UTF-8} +# librep on FreeBSD, NetBSD supports only UTF-8 locales. +# (Maybe because librep bundles the intl/ subpackage from gettext-0.10.35.) +case "$host_os" in + freebsd* | netbsd*) LOCALE_FR=none ;; +esac if test $LOCALE_FR != none; then LC_ALL=$LOCALE_FR ../testlocale case $? in