public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Mrozowski (reavertm)" <reavertm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: kde4-base.eclass
Date: Thu, 12 Aug 2010 19:32:24 +0000 (UTC)	[thread overview]
Message-ID: <20100812193224.0C90A2CE15@corvid.gentoo.org> (raw)

reavertm    10/08/12 19:32:23

  Modified:             kde4-base.eclass
  Log:
  Handle USE=debug in the same way as cmake-utils, do not abuse it with CMAkE_BUILD_TYPE=Debugfull (it can be done when needed anyway - see CMAKE_BUILD_TYPE section in cmake-utils.eclass(5))

Revision  Changes    Path
1.67                 eclass/kde4-base.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/kde4-base.eclass?rev=1.67&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/kde4-base.eclass?rev=1.67&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/kde4-base.eclass?r1=1.66&r2=1.67

Index: kde4-base.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- kde4-base.eclass	9 Aug 2010 15:59:04 -0000	1.66
+++ kde4-base.eclass	12 Aug 2010 19:32:23 -0000	1.67
@@ -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.66 2010/08/09 15:59:04 reavertm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.67 2010/08/12 19:32:23 reavertm Exp $
 
 # @ECLASS: kde4-base.eclass
 # @MAINTAINER:
@@ -645,12 +645,13 @@
 		cmakeargs+=(-DKDE4_ENABLE_FINAL=ON)
 	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
+	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
 	fi
 
 	# Set distribution name






             reply	other threads:[~2010-08-12 19:32 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-12 19:32 Maciej Mrozowski (reavertm) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-07-10  3:46 [gentoo-commits] gentoo-x86 commit in eclass: kde4-base.eclass Patrick Lauer (patrick)
2011-10-21 23:00 Andreas HAttel (dilfridge)
2011-09-07 17:34 Alexey Shvetsov (alexxy)
2011-08-31 23:44 Andreas HAttel (dilfridge)
2011-07-27  9:30 Alexey Shvetsov (alexxy)
2011-07-11 18:27 Andreas HAttel (dilfridge)
2011-07-11 17:16 Tomas Chvatal (scarabeus)
2011-07-06 19:26 Andreas HAttel (dilfridge)
2011-06-06 18:42 Jonathan Callen (abcd)
2011-05-23 22:56 Jonathan Callen (abcd)
2011-05-14 16:03 Andreas HAttel (dilfridge)
2011-04-22 18:48 Jonathan Callen (abcd)
2011-04-22 11:18 Tomas Chvatal (scarabeus)
2011-04-21 20:01 Andreas HAttel (dilfridge)
2011-04-06  8:53 Andreas HAttel (dilfridge)
2011-03-16 22:45 Andreas HAttel (dilfridge)
2011-01-11 13:15 Kacper Kowalik (xarthisius)
2010-11-24 23:54 Andreas HAttel (dilfridge)
2010-10-27 21:24 Andreas HAttel (dilfridge)
2010-09-13 21:47 Maciej Mrozowski (reavertm)
2010-09-11  5:18 Maciej Mrozowski (reavertm)
2010-09-11  4:37 Maciej Mrozowski (reavertm)
2010-08-13  5:05 Maciej Mrozowski (reavertm)
2010-06-26 16:02 Maciej Mrozowski (reavertm)
2010-06-26  1:33 Maciej Mrozowski (reavertm)
2010-05-15 14:03 Maciej Mrozowski (reavertm)
2010-04-07 21:16 Tomas Chvatal (scarabeus)
2009-11-25 19:51 Theo Chatzimichos (tampakrap)
2009-10-28 15:50 Tomas Chvatal (scarabeus)
2009-10-28 14:27 Jonathan Callen (abcd)
2009-10-28 14:23 Jonathan Callen (abcd)
2009-10-27 17:43 Tomas Chvatal (scarabeus)
2009-10-27 14:20 Tomas Chvatal (scarabeus)
2009-06-05  9:48 Tomas Chvatal (scarabeus)
2009-06-04 13:50 Tomas Chvatal (scarabeus)
2009-04-18 21:33 Tomas Chvatal (scarabeus)
2009-04-15 11:09 Tomas Chvatal (scarabeus)
2009-03-26 21:55 Jorge Manuel B. S. Vicetto (jmbsvicetto)
2009-03-11 17:40 Tomas Chvatal (scarabeus)
2009-02-02 21:35 Tomas Chvatal (scarabeus)
2009-01-31 21:31 Patrick Lauer (patrick)
2009-01-31 14:00 Ben de Groot (yngwin)
2009-01-24 23:24 Jorge Manuel B. S. Vicetto (jmbsvicetto)
2009-01-18 15:12 Alexey Shvetsov (alexxy)
2009-01-06 10:55 Tomas Chvatal (scarabeus)
2008-12-07 11:39 Jorge Manuel B. S. Vicetto (jmbsvicetto)
2008-11-22  1:23 Jorge Manuel B. S. Vicetto (jmbsvicetto)
2008-11-21 17:06 Jorge Manuel B. S. Vicetto (jmbsvicetto)
2008-11-09 22:52 Tomas Chvatal (scarabeus)
2008-10-11  3:05 Jorge Manuel B. S. Vicetto (jmbsvicetto)
2008-10-04 14:51 Jorge Manuel B. S. Vicetto (jmbsvicetto)
2008-04-14 13:23 Bo Oersted Andresen (zlin)
2008-04-06 21:36 Bo Oersted Andresen (zlin)
2008-04-03 18:12 Wulf Krueger (philantrop)
2008-03-26 20:39 Bo Oersted Andresen (zlin)
2008-03-14 15:51 Ingmar Vanhassel (ingmar)
2008-03-10 21:41 Bo Oersted Andresen (zlin)
2008-02-18 17:00 Ingmar Vanhassel (ingmar)
2008-01-18  2:37 Ingmar Vanhassel (ingmar)
2008-01-16 22:50 Ingmar Vanhassel (ingmar)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100812193224.0C90A2CE15@corvid.gentoo.org \
    --to=reavertm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox