summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-07-27 08:53:03 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-07-27 08:53:03 +0000
commit6c535f4e942f07ec9cb9fb3580ea4d8c0e142277 (patch)
tree68c51eee6c54679fa41c6c6d7316dac33596ac9b /app-cdr
parentUpdate version. (diff)
downloadgentoo-2-6c535f4e942f07ec9cb9fb3580ea4d8c0e142277.tar.gz
gentoo-2-6c535f4e942f07ec9cb9fb3580ea4d8c0e142277.tar.bz2
gentoo-2-6c535f4e942f07ec9cb9fb3580ea4d8c0e142277.zip
Make the ebuild actually respect LINGUAS given by user. Thanks to Ginta Suou for reporting in bug #141819.
(Portage version: 2.1.1_pre3-r5)
Diffstat (limited to 'app-cdr')
-rw-r--r--app-cdr/k3b/ChangeLog6
-rw-r--r--app-cdr/k3b/k3b-0.12.16.ebuild12
2 files changed, 10 insertions, 8 deletions
diff --git a/app-cdr/k3b/ChangeLog b/app-cdr/k3b/ChangeLog
index a992d67d4143..a9d178216653 100644
--- a/app-cdr/k3b/ChangeLog
+++ b/app-cdr/k3b/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-cdr/k3b
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/ChangeLog,v 1.156 2006/07/02 06:28:17 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/ChangeLog,v 1.157 2006/07/27 08:53:03 flameeyes Exp $
+
+ 27 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> k3b-0.12.16.ebuild:
+ Make the ebuild actually respect LINGUAS given by user. Thanks to Ginta Suou
+ for reporting in bug #141819.
02 Jul 2006; Daniel Black <dragonheart@gentoo.org> Manifest:
regen Manifest to not contain missing k3b-0.12.14.ebuild.orig
diff --git a/app-cdr/k3b/k3b-0.12.16.ebuild b/app-cdr/k3b/k3b-0.12.16.ebuild
index b424c02cea63..00af64fb2528 100644
--- a/app-cdr/k3b/k3b-0.12.16.ebuild
+++ b/app-cdr/k3b/k3b-0.12.16.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/k3b-0.12.16.ebuild,v 1.1 2006/06/30 17:27:01 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/k3b-0.12.16.ebuild,v 1.2 2006/07/27 08:53:03 flameeyes Exp $
inherit kde eutils
@@ -66,14 +66,12 @@ pkg_setup() {
src_unpack() {
kde_src_unpack
- local MAKE_LANGS
- for X in ${LANGS}; do
- use linguas_${X} && MAKE_LANGS="${MAKE_LANGS} ${X}"
- done
-
if [ -d "${WORKDIR}/${I18N}" ]; then
cd "${WORKDIR}/${I18N}"
- sed -i -e "s,^SUBDIRS = .*,SUBDIRS = ${MAKE_LANGS}," Makefile.in
+ for X in ${LANGS}; do
+ use linguas_${X} || rm -rf "${X}"
+ done
+ rm -f configure
fi
}