diff options
author | Christian Faulhammer <fauli@gentoo.org> | 2011-03-09 20:36:35 +0000 |
---|---|---|
committer | Christian Faulhammer <fauli@gentoo.org> | 2011-03-09 20:36:35 +0000 |
commit | 2e7979907e502d04d117f3fe6080dbdd38ef0128 (patch) | |
tree | 754a9755eec3f3b08726208d4b3ca0d9b5ddb421 /sys-apps | |
parent | Version bump. (diff) | |
download | gentoo-2-2e7979907e502d04d117f3fe6080dbdd38ef0128.tar.gz gentoo-2-2e7979907e502d04d117f3fe6080dbdd38ef0128.tar.bz2 gentoo-2-2e7979907e502d04d117f3fe6080dbdd38ef0128.zip |
Add nls USE flag as reported in bug 358011 by Sebastian Thorarensen <indigo176 AT blinkenshell DOT org>
(Portage version: 2.1.9.42/cvs/Linux i686)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/mlocate/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/mlocate/mlocate-0.23.1-r1.ebuild | 11 |
2 files changed, 14 insertions, 4 deletions
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 <fauli@gentoo.org> + mlocate-0.23.1-r1.ebuild: + Add nls USE flag as reported in bug 358011 by Sebastian Thorarensen + <indigo176 AT blinkenshell DOT org> 31 Jan 2011; Tomáš Chvátal <scarabeus@gentoo.org> 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 } |