diff options
| author | wired <wired@gentoo.org> | 2009-07-27 23:53:26 +0300 |
|---|---|---|
| committer | wired <wired@gentoo.org> | 2009-07-27 23:53:26 +0300 |
| commit | aa1c091779560ebe8f91f5da9745c14f95190069 (patch) | |
| tree | 50a52c388a45c6ba761bc0ba021afa1024f7d963 /eclass | |
| parent | 43ba86ce70f08c82c62f75907ed38a8790403519 (diff) | |
| download | kde-aa1c091779560ebe8f91f5da9745c14f95190069.tar.gz kde-aa1c091779560ebe8f91f5da9745c14f95190069.tar.bz2 kde-aa1c091779560ebe8f91f5da9745c14f95190069.zip | |
[kde4-{base,meta}.eclass] added missing +s and spaces, should be working now
Diffstat (limited to 'eclass')
| -rw-r--r-- | eclass/kde4-base.eclass | 24 | ||||
| -rw-r--r-- | eclass/kde4-meta.eclass | 30 |
2 files changed, 27 insertions, 27 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass index b5cfa3f9bd0..9567e0fbe82 100644 --- a/eclass/kde4-base.eclass +++ b/eclass/kde4-base.eclass @@ -94,10 +94,10 @@ qtopengldepend=" " case ${OPENGL_REQUIRED} in always) - COMMONDEPEND+="${qtopengldepend}" + COMMONDEPEND+=" ${qtopengldepend}" ;; optional) - IUSE="${IUSE} opengl" + IUSE+=" opengl" COMMONDEPEND+=" opengl? ( ${qtopengldepend} )" ;; *) ;; @@ -110,10 +110,10 @@ qtwebkitdepend=" " case ${WEBKIT_REQUIRED} in always) - COMMONDEPEND+="${qtwebkitdepend}" + COMMONDEPEND+=" ${qtwebkitdepend}" ;; optional) - IUSE="webkit" + IUSE+=" webkit" COMMONDEPEND+=" webkit? ( ${qtwebkitdepend} )" ;; *) ;; @@ -126,10 +126,10 @@ cppuintdepend=" " case ${CPPUNIT_REQUIRED} in always) - DEPEND+="${cppuintdepend}" + DEPEND+=" ${cppuintdepend}" ;; optional) - IUSE="test" + IUSE+=" test" DEPEND+=" test? ( ${cppuintdepend} )" ;; *) ;; @@ -143,10 +143,10 @@ case ${KDEBASE} in # Disable tests for live ebuilds RESTRICT+=" test" # Live ebuilds in kde-base default to kdeprefix by default - IUSE="+kdeprefix" + IUSE+=" +kdeprefix" else # All other ebuild types default to -kdeprefix as before - IUSE="kdeprefix" + IUSE+=" kdeprefix" fi # Determine SLOT from PVs case ${PV} in @@ -216,12 +216,12 @@ kdedepend=" " case ${KDE_REQUIRED} in always) - IUSE="aqua" + IUSE+=" aqua" COMMONDEPEND+=" ${kdecommondepend}" DEPEND+=" ${kdedepend}" ;; optional) - IUSE="aqua kde" + IUSE+=" aqua kde" COMMONDEPEND+=" kde? ( ${kdecommondepend} )" DEPEND+=" kde? ( ${kdedepend} )" ;; @@ -234,8 +234,8 @@ debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: DEPEND (only) is ${DEPEND}" debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: RDEPEND (only) is ${RDEPEND}" # Accumulate dependencies set by this eclass -DEPEND+="${COMMONDEPEND}" -RDEPEND+="${COMMONDEPEND}" +DEPEND+=" ${COMMONDEPEND}" +RDEPEND+=" ${COMMONDEPEND}" # Fetch section - If the ebuild's category is not 'kde-base' and if it is not a # koffice ebuild, the URI should be set in the ebuild itself diff --git a/eclass/kde4-meta.eclass b/eclass/kde4-meta.eclass index aa9aa7da72f..3cd725b2535 100644 --- a/eclass/kde4-meta.eclass +++ b/eclass/kde4-meta.eclass @@ -33,7 +33,7 @@ esac # Add khelpcenter dependency when installing handbooks if [[ ${PN} != khelpcenter ]] && has handbook ${IUSE//+}; then - RDEPEND+="handbook? ( >=kde-base/khelpcenter-${PV}:${SLOT}[kdeprefix=] ) + RDEPEND+=" handbook? ( >=kde-base/khelpcenter-${PV}:${SLOT}[kdeprefix=] ) " fi @@ -52,7 +52,7 @@ case ${KMNAME} in " case ${PN} in akregator|kaddressbook|kjots|kmail|knode|knotes|korganizer|ktimetracker) - IUSE="+kontact" + IUSE+=" +kontact" RDEPEND+=" kontact? ( >=kde-base/kontactinterfaces-${PV}:${SLOT}[kdeprefix=] )" ;; esac @@ -347,7 +347,7 @@ kde4-meta_create_extractlists() { ;; kdegames) if [[ ${PN} != libkdegames ]]; then - KMEXTRACTONLY+="libkdegames" + KMEXTRACTONLY+=" libkdegames" fi ;; kdepim-runtime) @@ -379,7 +379,7 @@ kde4-meta_create_extractlists() { ;; kdepim) if [[ ${PN} != libkdepim ]]; then - KMEXTRACTONLY+="libkdepim" + KMEXTRACTONLY+=" libkdepim" fi case ${SLOT} in 4.3|4.4|live) @@ -388,16 +388,16 @@ kde4-meta_create_extractlists() { config-enterprise.h.cmake" ;; esac - KMEXTRACTONLY+="kleopatra/ConfigureChecks.cmake" + KMEXTRACTONLY+=" kleopatra/ConfigureChecks.cmake" if has kontact ${IUSE//+} && use kontact; then - KMEXTRA+="kontact/plugins/${PLUGINNAME:-${PN}}" - KMEXTRACTONLY+="kontactinterfaces/" + KMEXTRA+=" kontact/plugins/${PLUGINNAME:-${PN}}" + KMEXTRACTONLY+=" kontactinterfaces/" fi ;; kdeutils) case ${SLOT} in 4.3|4.4|live) - KMEXTRACTONLY+="kdeutils-version.h" + KMEXTRACTONLY+=" kdeutils-version.h" ;; esac ;; @@ -411,7 +411,7 @@ kde4-meta_create_extractlists() { " case ${PV} in 2.0.*) - KMEXTRACTONLY+="config-openctl.h.cmake" + KMEXTRACTONLY+=" config-openctl.h.cmake" ;; esac ;; @@ -423,7 +423,7 @@ kde4-meta_create_extractlists() { # Remove when 4.2 is wiped out from the tree case ${PV} in 4.1*|4.2.0|4.2.1|4.2.2|4.2.3|4.2.4|4.2.85) - KMCOMPILEONLY+="cmake/modules/" + KMCOMPILEONLY+=" cmake/modules/" ;; *) ;; esac @@ -431,10 +431,10 @@ kde4-meta_create_extractlists() { kdebase-runtime|kdebase-workspace|kdeedu|kdegames|kdegraphics) case ${PN} in libkdegames|libkdeedu|libkworkspace) - KMEXTRA+="cmake/modules/" + KMEXTRA+=" cmake/modules/" ;; *) - KMCOMPILEONLY+="cmake/modules/" + KMCOMPILEONLY+=" cmake/modules/" ;; esac ;; @@ -470,10 +470,10 @@ __list_needed_subdirectories() { # Expand KMCOMPILEONLY for i in ${KMCOMPILEONLY}; do - kmcompileonly_expanded+="${i}" + kmcompileonly_expanded+=" ${i}" j=$(dirname ${i}) while [[ ${j} != "." ]]; do - kmcompileonly_expanded+="${j}/CMakeLists.txt"; + kmcompileonly_expanded+=" ${j}/CMakeLists.txt"; j=$(dirname ${j}) done done @@ -487,7 +487,7 @@ __list_needed_subdirectories() { for i in ${kmmodule_expanded} ${kmextra_expanded} ${kmcompileonly_expanded} \ ${KMEXTRACTONLY} do - extractlist+="${topdir}${moduleprefix}${i}" + extractlist+=" ${topdir}${moduleprefix}${i}" done echo ${extractlist} |
