From 4840e57cc54183242c3769fece653cb0f6180229 Mon Sep 17 00:00:00 2001 From: bernhard Date: Mon, 20 Jul 2020 09:40:40 +0200 Subject: [PATCH] Issue #219: add Unicode::Collate::Locale as a dependency Package only for yum --- bin/otobo.CheckModules.pl | 10 ++++++++++ cpanfile | 3 +++ 2 files changed, 13 insertions(+) diff --git a/bin/otobo.CheckModules.pl b/bin/otobo.CheckModules.pl index 48cbecc589..c42b087229 100755 --- a/bin/otobo.CheckModules.pl +++ b/bin/otobo.CheckModules.pl @@ -412,6 +412,16 @@ ports => 'textproc/p5-YAML-LibYAML', }, }, + { + Module => 'Unicode::Collate::Locale', + Required => 1, + Comment => 'For internationalised sorting', + InstTypes => { + # This is a core Perl module which should be available on most distributions. + # Redhat seems to be an exception. See https://github.com/RotherOSS/otobo/issues/219 + yum => 'perl-Unicode-Collate', + }, + }, # Feature db { diff --git a/cpanfile b/cpanfile index 65bd9c90af..857267e971 100644 --- a/cpanfile +++ b/cpanfile @@ -45,6 +45,9 @@ requires 'XML::LibXML'; # Required for fast YAML processing. requires 'YAML::XS'; +# For internationalised sorting +requires 'Unicode::Collate::Locale'; + feature 'apache:mod_perl', 'Suppport for apache:mod_perl' => sub { # Improves Performance on Apache webservers dramatically.