summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2010-08-13 05:05:40 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2010-08-13 05:05:40 +0000
commit82348120283d4400d198a3433bb5ee451f8f534c (patch)
tree6e7ddc039d7347d9bae232ccf427f1a8cd5fddbc /eclass
parentRevert - breaks a lot of kde packages (sighs) (diff)
downloadgentoo-2-82348120283d4400d198a3433bb5ee451f8f534c.tar.gz
gentoo-2-82348120283d4400d198a3433bb5ee451f8f534c.tar.bz2
gentoo-2-82348120283d4400d198a3433bb5ee451f8f534c.zip
Revert - breaks kdelibs API (sic!)
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde4-base.eclass15
1 files changed, 7 insertions, 8 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass
index 9dcaed869ca5..640c8a2e9094 100644
--- a/eclass/kde4-base.eclass
+++ b/eclass/kde4-base.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.67 2010/08/12 19:32:23 reavertm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.68 2010/08/13 05:05:40 reavertm Exp $
# @ECLASS: kde4-base.eclass
# @MAINTAINER:
@@ -645,13 +645,12 @@ kde4-base_src_configure() {
cmakeargs+=(-DKDE4_ENABLE_FINAL=ON)
fi
- if [[ ${CMAKE_BUILD_TYPE} = Gentoo ]]; then
- # Handle debug and release codepaths
- if has debug ${IUSE//+} && use debug; then
- append-cppflags -DDEBUG
- else
- append-cppflags -DNDEBUG -DQT_NO_DEBUG -DQT_NO_DEBUG_STREAM
- fi
+ if has debug ${IUSE//+} && use debug; then
+ # Set "real" debug mode
+ CMAKE_BUILD_TYPE="Debugfull"
+ else
+ # Handle common release builds
+ append-cppflags -DQT_NO_DEBUG
fi
# Set distribution name