From 2e7979907e502d04d117f3fe6080dbdd38ef0128 Mon Sep 17 00:00:00 2001 From: Christian Faulhammer Date: Wed, 9 Mar 2011 20:36:35 +0000 Subject: Add nls USE flag as reported in bug 358011 by Sebastian Thorarensen (Portage version: 2.1.9.42/cvs/Linux i686) --- sys-apps/mlocate/ChangeLog | 7 ++++++- sys-apps/mlocate/mlocate-0.23.1-r1.ebuild | 11 ++++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) (limited to 'sys-apps') diff --git a/sys-apps/mlocate/ChangeLog b/sys-apps/mlocate/ChangeLog index 6f35c652ff79..3e8c40e1968f 100644 --- a/sys-apps/mlocate/ChangeLog +++ b/sys-apps/mlocate/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/mlocate # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/mlocate/ChangeLog,v 1.85 2011/01/31 13:17:10 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/mlocate/ChangeLog,v 1.86 2011/03/09 20:36:35 fauli Exp $ + + 09 Mar 2011; Christian Faulhammer + mlocate-0.23.1-r1.ebuild: + Add nls USE flag as reported in bug 358011 by Sebastian Thorarensen + 31 Jan 2011; Tomáš Chvátal files/mlocate.cron-r2: Fix premature removing of the lock file and parse the args more sanely when diff --git a/sys-apps/mlocate/mlocate-0.23.1-r1.ebuild b/sys-apps/mlocate/mlocate-0.23.1-r1.ebuild index dd42e956ed8f..f52b9b9839e5 100644 --- a/sys-apps/mlocate/mlocate-0.23.1-r1.ebuild +++ b/sys-apps/mlocate/mlocate-0.23.1-r1.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/sys-apps/mlocate/mlocate-0.23.1-r1.ebuild,v 1.1 2011/01/30 13:16:50 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/mlocate/mlocate-0.23.1-r1.ebuild,v 1.2 2011/03/09 20:36:35 fauli Exp $ EAPI="3" @@ -13,16 +13,21 @@ SRC_URI="https://fedorahosted.org/releases/m/l/mlocate/${P}.tar.xz" LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86" -IUSE="" +IUSE="nls" RDEPEND="!sys-apps/slocate !sys-apps/rlocate" -DEPEND="app-arch/xz-utils" +DEPEND="app-arch/xz-utils + nls? ( sys-devel/gettext )" pkg_setup() { enewgroup locate } +src_configure() { + econf $(use_enable nls) || die +} + src_compile() { emake groupname=locate || die } -- cgit v1.2.3-65-gdbad