summaryrefslogtreecommitdiff
path: root/eclass/kde4-functions.eclass
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2012-07-12 06:33:50 +1000
committerMichael Palimaka <kensington@gentoo.org>2012-07-12 06:33:50 +1000
commit76054358f88abc7439542c7773598fc8c3c0988c (patch)
treea0d53c79c80d3386dc00891c9e389e8ab73f0f9c /eclass/kde4-functions.eclass
parent3e153ce2b417fbe3ba9ec5e220367d13902b36ee (diff)
downloadkde-76054358f88abc7439542c7773598fc8c3c0988c.tar.gz
kde-76054358f88abc7439542c7773598fc8c3c0988c.tar.bz2
kde-76054358f88abc7439542c7773598fc8c3c0988c.zip
[eclass] Add KDE prefix to BUILD_TYPE.
Diffstat (limited to 'eclass/kde4-functions.eclass')
-rw-r--r--eclass/kde4-functions.eclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/kde4-functions.eclass b/eclass/kde4-functions.eclass
index aa7ebb2e9e6..957ca269de0 100644
--- a/eclass/kde4-functions.eclass
+++ b/eclass/kde4-functions.eclass
@@ -46,15 +46,15 @@ fi
# determine the build type
if [[ ${PV} = *9999* ]]; then
- BUILD_TYPE="live"
+ KDE_BUILD_TYPE="live"
else
- BUILD_TYPE="release"
+ KDE_BUILD_TYPE="release"
fi
-export BUILD_TYPE
+export KDE_BUILD_TYPE
# Set reponame and SCM for moduleses that have fully migrated to git
# (hack - it's here because it needs to be before SCM inherits from kde4-base)
-if [[ ${BUILD_TYPE} == live ]]; then
+if [[ ${KDE_BUILD_TYPE} == live ]]; then
case "${KMNAME}" in
kdebase-workspace)
KDE_SCM="git"
@@ -93,7 +93,7 @@ esac
# this for you.
#
# Example: KDE_LINGUAS="en_GB de nl"
-if [[ ${BUILD_TYPE} != live || -n ${KDE_LINGUAS_LIVE_OVERRIDE} ]]; then
+if [[ ${KDE_BUILD_TYPE} != live || -n ${KDE_LINGUAS_LIVE_OVERRIDE} ]]; then
for _lingua in ${KDE_LINGUAS}; do
IUSE="${IUSE} linguas_${_lingua}"
done