summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-02-27 07:03:24 +0000
committerTim Harder <radhermit@gentoo.org>2012-02-27 07:03:24 +0000
commit38c3fe19c050990ba9682b6678e63314556156ae (patch)
treea597b31ee2a10faed8e5d1ab134fccfa3e863dac /media-sound/csound
parentRestricting pypy (diff)
downloadgentoo-2-38c3fe19c050990ba9682b6678e63314556156ae.tar.gz
gentoo-2-38c3fe19c050990ba9682b6678e63314556156ae.tar.bz2
gentoo-2-38c3fe19c050990ba9682b6678e63314556156ae.zip
Only install locales when nls is enabled.
(Portage version: 2.2.0_alpha87/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/csound')
-rw-r--r--media-sound/csound/ChangeLog5
-rw-r--r--media-sound/csound/csound-5.16.6.ebuild12
2 files changed, 11 insertions, 6 deletions
diff --git a/media-sound/csound/ChangeLog b/media-sound/csound/ChangeLog
index bb4af21a3bae..0a87ecfbc5c1 100644
--- a/media-sound/csound/ChangeLog
+++ b/media-sound/csound/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-sound/csound
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/csound/ChangeLog,v 1.2 2012/02/27 05:42:44 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/csound/ChangeLog,v 1.3 2012/02/27 07:03:24 radhermit Exp $
+
+ 27 Feb 2012; Tim Harder <radhermit@gentoo.org> csound-5.16.6.ebuild:
+ Only install locales when nls is enabled.
27 Feb 2012; Tim Harder <radhermit@gentoo.org> metadata.xml:
Sort use flags and fix whitespace.
diff --git a/media-sound/csound/csound-5.16.6.ebuild b/media-sound/csound/csound-5.16.6.ebuild
index 93a6082c24be..731763610409 100644
--- a/media-sound/csound/csound-5.16.6.ebuild
+++ b/media-sound/csound/csound-5.16.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/csound/csound-5.16.6.ebuild,v 1.1 2012/02/27 05:37:48 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/csound/csound-5.16.6.ebuild,v 1.2 2012/02/27 07:03:24 radhermit Exp $
EAPI="4"
PYTHON_DEPEND="python? 2"
@@ -176,10 +176,12 @@ src_install() {
use stk && echo "RAWWAVE_PATH=/usr/share/csound/rawwaves" >> "${T}"/62${PN}
doenvd "${T}"/62${PN}
- insinto /usr/share/locale
- for lang in ${LANGS} ; do
- use linguas_${lang} && doins -r po/${lang}
- done
+ if use nls ; then
+ insinto /usr/share/locale
+ for lang in ${LANGS} ; do
+ use linguas_${lang} && doins -r po/${lang}
+ done
+ fi
if use examples ; then
dodoc -r examples