diff options
Diffstat (limited to 'app-cdr/recorder/recorder-1.4.1.ebuild')
-rw-r--r-- | app-cdr/recorder/recorder-1.4.1.ebuild | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/app-cdr/recorder/recorder-1.4.1.ebuild b/app-cdr/recorder/recorder-1.4.1.ebuild index aeafb9dbb378..d7bff5625631 100644 --- a/app-cdr/recorder/recorder-1.4.1.ebuild +++ b/app-cdr/recorder/recorder-1.4.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/recorder/recorder-1.4.1.ebuild,v 1.1 2008/09/15 20:04:03 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-cdr/recorder/recorder-1.4.1.ebuild,v 1.2 2008/09/17 23:54:54 yngwin Exp $ inherit fdo-mime @@ -32,7 +32,17 @@ RDEPEND="${DEPEND} src_unpack() { unpack ${A} cd "${S}" - sed -i -e "s:ar cs es fr pt_BR ru it nl:${LINGUAS}:" Makefile + local MY_NLS="" + if use nls; then + for ling in ${LINGUAS}; do + for lang in ${LANGS}; do + if [[ $ling==$lang ]]; then + MY_NLS="${MY_NLS} ${ling}" + fi + done + done + fi + sed -i -e "s:ar cs es fr pt_BR ru it nl:${MY_NLS}:" Makefile } src_install() { |