diff options
| author | Jonathan Callen <abcd@gentoo.org> | 2011-04-22 14:38:51 -0400 |
|---|---|---|
| committer | Jonathan Callen <abcd@gentoo.org> | 2011-04-22 14:38:51 -0400 |
| commit | 6db7c3912dfd63d2e20cc96e1e20b342b8463580 (patch) | |
| tree | baa815184a1b831a770b32878551e2f17b1b33eb /eclass | |
| parent | 5298e76c257f2c247ae317b3b89dbc25bd0910ee (diff) | |
| download | kde-6db7c3912dfd63d2e20cc96e1e20b342b8463580.tar.gz kde-6db7c3912dfd63d2e20cc96e1e20b342b8463580.tar.bz2 kde-6db7c3912dfd63d2e20cc96e1e20b342b8463580.zip | |
[kde-base] Fix syntax error, add forward-compatibility
Diffstat (limited to 'eclass')
| -rw-r--r-- | eclass/kde4-base.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass index a877f5525f6..80b27848f07 100644 --- a/eclass/kde4-base.eclass +++ b/eclass/kde4-base.eclass @@ -377,15 +377,15 @@ if [[ ${PN} != oxygen-icons ]]; then kderdepend+=" $(add_kdebase_dep oxygen-icons)" fi -# add a dependency over kde-l10n if EAPI4 is around -if [[ ${KDEBASE} != "kde-base" ]] && [[ -n ${KDE_LINGUAS} ]] && has "${EAPI:-0}" 4; then +# add a dependency over kde-l10n if EAPI4 or better is around +if [[ ${KDEBASE} != "kde-base" && -n ${KDE_LINGUAS} && ${EAPI:-0} != 3 ]]; then for _lingua in ${KDE_LINGUAS}; do # if our package has lignuas, pull in kde-l10n with selected lingua enabled, # but only for selected ones. # this can't be done on one line because if user doesn't use any localisation # then he is probably not interested in kde-l10n at all. kderdepend+=" - linguas_${_lingua}? ( $(add_kdebase_dep kde-l10n linguas_${_lingua}(+)?) ) + linguas_${_lingua}? ( $(add_kdebase_dep kde-l10n "linguas_${_lingua}(+)?") ) " done unset _lingua |
