summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2003-12-14 22:21:15 +0000
committerMartin Schlemmer <azarah@gentoo.org>2003-12-14 22:21:15 +0000
commitf13c215e529c542a1cf65e0a349cbe393e2a06e1 (patch)
treefdb1604deb6620c3634b98a795b395a85274cd46
parentMake things a bit more generic (no edit for version bump) (diff)
downloadhistorical-f13c215e529c542a1cf65e0a349cbe393e2a06e1.tar.gz
historical-f13c215e529c542a1cf65e0a349cbe393e2a06e1.tar.bz2
historical-f13c215e529c542a1cf65e0a349cbe393e2a06e1.zip
Add a '[ -d / ]' check in case the LINGUAS is not supported.
-rw-r--r--app-cdr/k3b/ChangeLog5
-rw-r--r--app-cdr/k3b/Manifest4
-rw-r--r--app-cdr/k3b/k3b-0.10.3-r1.ebuild8
3 files changed, 10 insertions, 7 deletions
diff --git a/app-cdr/k3b/ChangeLog b/app-cdr/k3b/ChangeLog
index e299f268df07..238dc6d2307d 100644
--- a/app-cdr/k3b/ChangeLog
+++ b/app-cdr/k3b/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-cdr/k3b
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/ChangeLog,v 1.32 2003/12/14 21:53:37 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/ChangeLog,v 1.33 2003/12/14 22:21:07 azarah Exp $
+
+ 15 Dec 2003; Martin Schlemmer <azarah@gentoo.org> k3b-0.10.3-r1.ebuild:
+ Add a '[ -d "${WORKDIR}/${I18N}" ]' check in case the LINGUAS is not supported.
*k3b-0.10.3-r1 (14 Dec 2003)
14 Dec 2003; Martin Schlemmer <azarah@gentoo.org> k3b-0.10.3-r1.ebuild:
diff --git a/app-cdr/k3b/Manifest b/app-cdr/k3b/Manifest
index 361288c7704c..2d249700e0a7 100644
--- a/app-cdr/k3b/Manifest
+++ b/app-cdr/k3b/Manifest
@@ -1,9 +1,9 @@
MD5 6e8d54565cd909e1c4369a6b43dfc615 k3b-0.10.ebuild 1357
-MD5 0021315c3f983ad49642034eab3f9076 ChangeLog 4918
+MD5 91a2a3791030d067c9fea59bfb0efc40 ChangeLog 5075
MD5 76f2d6c12c58cabb56e236c70b0c5ddb k3b-0.9-r1.ebuild 1606
MD5 0debeb38880a8450d851f8b5abad07b1 k3b-0.10.3.ebuild 2843
MD5 96c9e162f6292e38ee3ff018862cba0e k3b-0.9.ebuild 1321
-MD5 9d48b7c6639a5f9ccbbd8d312c517cae k3b-0.10.3-r1.ebuild 2986
+MD5 4362ef05983828ae08a3dfc0fa4b6327 k3b-0.10.3-r1.ebuild 3042
MD5 1b6808bbd78c9161f8b7efb090d966f8 metadata.xml 162
MD5 8a7c1216879b82cde9cbc9a59847c71c k3b-0.8.1-r1.ebuild 934
MD5 3a2ad6a2bdefe879915a652e31f36442 k3b-0.10.1.ebuild 2217
diff --git a/app-cdr/k3b/k3b-0.10.3-r1.ebuild b/app-cdr/k3b/k3b-0.10.3-r1.ebuild
index 6dfb766001ef..3509ea7269f4 100644
--- a/app-cdr/k3b/k3b-0.10.3-r1.ebuild
+++ b/app-cdr/k3b/k3b-0.10.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/k3b-0.10.3-r1.ebuild,v 1.2 2003/12/14 22:09:34 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/k3b-0.10.3-r1.ebuild,v 1.3 2003/12/14 22:21:07 azarah Exp $
inherit kde
need-kde 3.1
@@ -35,7 +35,7 @@ I18N="${PN}-i18n-${PV%.*}"
for pkg in ${LANGS}
do
- SRC_URI="${SRC_URI} linguas_${pkg}? (mirror://sourceforge/k3b/${I18N}.tar.gz)"
+ SRC_URI="${SRC_URI} linguas_${pkg}? ( mirror://sourceforge/k3b/${I18N}.tar.gz )"
done
myconf="$myconf --enable-sso"
@@ -53,7 +53,7 @@ src_compile() {
local myconf=
local _S="${S}"
- if [ -n "${LINGUAS}" ]; then
+ if [ -n "${LINGUAS}" -a -d "${WORKDIR}/${I18N}" ]; then
echo "SUBDIRS = ${LINGUAS}" > ${WORKDIR}/${I18N}/po/Makefile.am
fi
@@ -65,7 +65,7 @@ src_compile() {
kde_src_compile configure
kde_src_compile make
- if [ -n "${LINGUAS}" ]; then
+ if [ -n "${LINGUAS}" -a -d "${WORKDIR}/${I18N}" ]; then
# Build process for K3B-i18n
# I think running this in a for-loop is not necessary,
# because there should be only those two directories.