diff options
Diffstat (limited to 'dev-db/postgresql/postgresql-9999.ebuild')
| -rw-r--r-- | dev-db/postgresql/postgresql-9999.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-db/postgresql/postgresql-9999.ebuild b/dev-db/postgresql/postgresql-9999.ebuild index 1ca6f1f03d09..9b9884bf901e 100644 --- a/dev-db/postgresql/postgresql-9999.ebuild +++ b/dev-db/postgresql/postgresql-9999.ebuild @@ -455,7 +455,12 @@ pkg_config() { src_test() { if [[ ${UID} -ne 0 ]] ; then + # Some ICU tests fail if LC_CTYPE and LC_COLLATE aren't the same. We set + # LC_CTYPE to be equal to LC_COLLATE since LC_COLLATE is set by Portage. + local old_ctype=${LC_CTYPE} + export LC_CTYPE=${LC_COLLATE} emake check + export LC_CTYPE=${old_ctype} einfo "If you think other tests besides the regression tests are necessary, please" einfo "submit a bug including a patch for this ebuild to enable them." |
