summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin F. Quinn <kevquinn@gentoo.org>2007-03-04 23:30:54 +0000
committerKevin F. Quinn <kevquinn@gentoo.org>2007-03-04 23:30:54 +0000
commit2b3d284094cb4c9b0fd2ecd63ee835b805fc2b79 (patch)
tree3233c1b7b52235e5f3b870676a8a86b33441ed15 /app-text/aspell
parentCorrect DEPEND, bug 168179 (diff)
downloadgentoo-2-2b3d284094cb4c9b0fd2ecd63ee835b805fc2b79.tar.gz
gentoo-2-2b3d284094cb4c9b0fd2ecd63ee835b805fc2b79.tar.bz2
gentoo-2-2b3d284094cb4c9b0fd2ecd63ee835b805fc2b79.zip
Incorporated dictionary pdepends (bug #48072)
(Portage version: 2.1.2-r13)
Diffstat (limited to 'app-text/aspell')
-rw-r--r--app-text/aspell/ChangeLog5
-rw-r--r--app-text/aspell/aspell-0.60.5.ebuild25
2 files changed, 27 insertions, 3 deletions
diff --git a/app-text/aspell/ChangeLog b/app-text/aspell/ChangeLog
index 967d8adfdb36..51f3fcfa7290 100644
--- a/app-text/aspell/ChangeLog
+++ b/app-text/aspell/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-text/aspell
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/aspell/ChangeLog,v 1.83 2007/03/04 07:27:33 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/aspell/ChangeLog,v 1.84 2007/03/04 23:30:54 kevquinn Exp $
+
+ 04 Mar 2007; Kevin F. Quinn <kevquinn@gentoo.org> aspell-0.60.5.ebuild:
+ Incorporated dictionary pdepends (bug #48072)
04 Mar 2007; Marius Mauch <genone@gentoo.org> aspell-0.50.5-r4.ebuild,
aspell-0.60.3.ebuild, aspell-0.60.3-r1.ebuild, aspell-0.60.4.ebuild,
diff --git a/app-text/aspell/aspell-0.60.5.ebuild b/app-text/aspell/aspell-0.60.5.ebuild
index 31fb4f4f4ed2..d44dba3b8d96 100644
--- a/app-text/aspell/aspell-0.60.5.ebuild
+++ b/app-text/aspell/aspell-0.60.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/aspell/aspell-0.60.5.ebuild,v 1.2 2007/03/04 07:27:33 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/aspell/aspell-0.60.5.ebuild,v 1.3 2007/03/04 23:30:54 kevquinn Exp $
# N.B. This is before inherit of autotools, as autotools.eclass adds the
# relevant dependencies to DEPEND.
@@ -16,10 +16,31 @@ LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="gpm nls"
+# Note; app-text/aspell-0.6 and app-dicts/aspell-en-0.6 must go stable together
+
+# Build PDEPEND from list of language codes provided in the tree.
+# The PDEPEND string is static - this code just makes it easier to maintain.
+def="app-dicts/aspell-en"
+for l in \
+ "af" "be" "bg" "br" "ca" "cs" "cy" "da" "de" "el" \
+ "en" "eo" "es" "et" "fi" "fo" "fr" "ga" "gl" "he" \
+ "hr" "is" "it" "nl" "no" "pl" "pt" "ro" "ru" "sk" \
+ "sl" "sr" "sv" "uk" "vi"; do
+ dep="linguas_${l}? ( app-dicts/aspell-${l} )"
+ [[ -z ${PDEPEND} ]] &&
+ PDEPEND="${dep}" ||
+ PDEPEND="${PDEPEND}
+${dep}"
+ def="!linguas_${l}? ( ${def} )"
+done
+PDEPEND="${PDEPEND}
+${def}"
RDEPEND=">=sys-libs/ncurses-5.2
gpm? ( sys-libs/gpm )
- nls? ( virtual/libintl )"
+ nls? ( virtual/libintl )
+ !=app-dicts/aspell-en-0.5*"
+# English dictionary 0.5 is incompatible with aspell-0.6
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"