diff options
| author | Jonathan Callen <en.ABCD@gmail.com> | 2009-08-07 15:19:50 -0400 |
|---|---|---|
| committer | Jonathan Callen <en.ABCD@gmail.com> | 2009-08-07 15:19:50 -0400 |
| commit | cf30b894d2149d1b248cd0baa92b0913ddf6ea37 (patch) | |
| tree | 244737115b2381e8755f5242fc1c019923d4a667 | |
| parent | f31d92a25321421fe080127608be5f88833b35ab (diff) | |
| download | kde-cf30b894d2149d1b248cd0baa92b0913ddf6ea37.tar.gz kde-cf30b894d2149d1b248cd0baa92b0913ddf6ea37.tar.bz2 kde-cf30b894d2149d1b248cd0baa92b0913ddf6ea37.zip | |
[eclass] Fix add_blocker in kde4-functions.eclass to output proper blockers
| -rw-r--r-- | eclass/kde4-functions.eclass | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/eclass/kde4-functions.eclass b/eclass/kde4-functions.eclass index 0abe907102d..5d4df4f39cb 100644 --- a/eclass/kde4-functions.eclass +++ b/eclass/kde4-functions.eclass @@ -384,12 +384,8 @@ add_blocker() { [[ ${1} = "" || ${2} = "" ]] && die "Missing parameter" for slot in ${KDE_SLOTS[@]} ${KDE_LIVE_SLOTS[@]}; do # on -kdeprefix we block every slot - RDEPEND="${RDEPEND} - !kdeprefix? ( !<=${1}:${slot}[-kdeprefix] ) - " + RDEPEND+=" !kdeprefix? ( !<=${1}-${2}:${slot}[-kdeprefix] )" done # on kdeprefix we block only our slot - RDEPEND="${RDEPEND} - kdeprefix? ( !<=${1}:${SLOT}[kdeprefix] ) - " + RDEPEND+=" kdeprefix? ( !<=${1}-${2}:${SLOT}[kdeprefix] )" } |
