diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-01-02 13:51:16 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-01-02 13:51:16 +0000 |
commit | ac5446fdd4e2de2767f17f794926b100644baf12 (patch) | |
tree | a211a88d97c7c888899b60f81c05b8a57dfb0923 | |
parent | USE description for flag "neon" is in use.desc now. (diff) | |
download | gentoo-2-ac5446fdd4e2de2767f17f794926b100644baf12.tar.gz gentoo-2-ac5446fdd4e2de2767f17f794926b100644baf12.tar.bz2 gentoo-2-ac5446fdd4e2de2767f17f794926b100644baf12.zip |
Add LINGUAS support (bug #396629).
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
-rw-r--r-- | net-ftp/lftp/ChangeLog | 5 | ||||
-rw-r--r-- | net-ftp/lftp/lftp-4.3.3.ebuild | 14 |
2 files changed, 15 insertions, 4 deletions
diff --git a/net-ftp/lftp/ChangeLog b/net-ftp/lftp/ChangeLog index 4b6964531400..683bd2a601cb 100644 --- a/net-ftp/lftp/ChangeLog +++ b/net-ftp/lftp/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-ftp/lftp # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/lftp/ChangeLog,v 1.334 2012/01/02 13:41:33 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/lftp/ChangeLog,v 1.335 2012/01/02 13:51:16 jer Exp $ + + 02 Jan 2012; Jeroen Roovers <jer@gentoo.org> lftp-4.3.3.ebuild: + Add LINGUAS support (bug #396629). 02 Jan 2012; Jeroen Roovers <jer@gentoo.org> lftp-4.3.4.ebuild: Add LINGUAS support (bug #396629). diff --git a/net-ftp/lftp/lftp-4.3.3.ebuild b/net-ftp/lftp/lftp-4.3.3.ebuild index 619ee79eb6d8..fdf2c79372cc 100644 --- a/net-ftp/lftp/lftp-4.3.3.ebuild +++ b/net-ftp/lftp/lftp-4.3.3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/lftp/lftp-4.3.3.ebuild,v 1.7 2011/12/17 19:30:21 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/lftp/lftp-4.3.3.ebuild,v 1.8 2012/01/02 13:51:16 jer Exp $ EAPI="3" @@ -13,7 +13,12 @@ SRC_URI="http://ftp.yars.free.net/pub/source/${PN}/${P}.tar.xz" LICENSE="GPL-3" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ~mips ~ppc ~ppc64 s390 sparc x86 ~sparc-fbsd ~x86-fbsd" -IUSE="ssl gnutls socks5 nls" +LFTP_LINGUAS="cs de es fr it ja ko pl pt_BR ru zh_CN zh_HK zh_TW" + +IUSE=" + $( for i in ${LFTP_LINGUAS}; do echo linguas_${i}; done ) + ssl gnutls socks5 nls +" RDEPEND=" dev-libs/expat @@ -44,6 +49,9 @@ src_prepare() { src_configure() { local myconf="$(use_enable nls) --enable-packager-mode" + local LINGUAS=$( + for i in ${LFTP_LINGUAS}; do use linguas_${i} && echo ${i}; done + ) if use ssl && use gnutls ; then myconf="${myconf} --without-openssl" |