diff options
author | Justin Lecher <jlec@gentoo.org> | 2011-01-07 18:05:11 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2011-01-07 18:05:11 +0000 |
commit | a2dba0c5477981faacedeb8ec8fc8a571d495fe0 (patch) | |
tree | d75af9aa8bc5e878e197ce4f38627d184cb3e852 /app-text/vilistextum | |
parent | Stable on amd64 wrt bug #350857 (diff) | |
download | gentoo-2-a2dba0c5477981faacedeb8ec8fc8a571d495fe0.tar.gz gentoo-2-a2dba0c5477981faacedeb8ec8fc8a571d495fe0.tar.bz2 gentoo-2-a2dba0c5477981faacedeb8ec8fc8a571d495fe0.zip |
Make sure correct locale is present during test, 350833
(Portage version: 2.2.0_alpha14/cvs/Linux x86_64)
Diffstat (limited to 'app-text/vilistextum')
-rw-r--r-- | app-text/vilistextum/ChangeLog | 5 | ||||
-rw-r--r-- | app-text/vilistextum/vilistextum-2.6.9.ebuild | 13 |
2 files changed, 16 insertions, 2 deletions
diff --git a/app-text/vilistextum/ChangeLog b/app-text/vilistextum/ChangeLog index ff6efa7da0fc..acdc33eca0bc 100644 --- a/app-text/vilistextum/ChangeLog +++ b/app-text/vilistextum/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-text/vilistextum # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/vilistextum/ChangeLog,v 1.27 2011/01/06 16:31:26 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/vilistextum/ChangeLog,v 1.28 2011/01/07 18:05:11 jlec Exp $ + + 07 Jan 2011; Justin Lecher <jlec@gentoo.org> vilistextum-2.6.9.ebuild: + Make sure correct locale is present during test, 350833 06 Jan 2011; Justin Lecher <jlec@gentoo.org> vilistextum-2.6.7.ebuild, vilistextum-2.6.7-r1.ebuild, vilistextum-2.6.9.ebuild: diff --git a/app-text/vilistextum/vilistextum-2.6.9.ebuild b/app-text/vilistextum/vilistextum-2.6.9.ebuild index 6e755b12c020..e4b9b23fc679 100644 --- a/app-text/vilistextum/vilistextum-2.6.9.ebuild +++ b/app-text/vilistextum/vilistextum-2.6.9.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/vilistextum/vilistextum-2.6.9.ebuild,v 1.4 2011/01/06 16:31:26 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/vilistextum/vilistextum-2.6.9.ebuild,v 1.5 2011/01/07 18:05:11 jlec Exp $ EAPI="2" @@ -36,6 +36,17 @@ src_configure() { $(use_with unicode unicode-locale en_US.UTF-8) } +src_test() { + if $(locale -a | grep -iq en_US.utf8); then + emake -j1 \ + check || die + else + ewarn "If you like to run the test," + ewarn "please make sure en_US.UTF-8 is installed." + die "en_US.UTF-8 locale is missing" + fi +} + src_install() { emake DESTDIR="${D}" install || die dodoc README CHANGES || die |