From owner-freebsd-ports@FreeBSD.ORG  Thu Jun 29 12:29:32 2006
Return-Path: <owner-freebsd-ports@FreeBSD.ORG>
X-Original-To: freebsd-ports@FreeBSD.org
Delivered-To: freebsd-ports@FreeBSD.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 34FBE16A40F
	for <freebsd-ports@FreeBSD.org>; Thu, 29 Jun 2006 12:29:32 +0000 (UTC)
	(envelope-from tataz@tataz.chchile.org)
Received: from smtp2-g19.free.fr (smtp2-g19.free.fr [212.27.42.28])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B739F43D80
	for <freebsd-ports@FreeBSD.org>; Thu, 29 Jun 2006 12:29:27 +0000 (GMT)
	(envelope-from tataz@tataz.chchile.org)
Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98])
	by smtp2-g19.free.fr (Postfix) with ESMTP id CFB7375A63
	for <freebsd-ports@FreeBSD.org>; Thu, 29 Jun 2006 14:29:26 +0200 (CEST)
Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25])
	by tatooine.tataz.chchile.org (Postfix) with ESMTP id 09E519C9E5;
	Thu, 29 Jun 2006 12:29:56 +0000 (UTC)
Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000)
	id D7E5A40AF; Thu, 29 Jun 2006 13:59:53 +0200 (CEST)
Date: Thu, 29 Jun 2006 13:59:53 +0200
From: Jeremie Le Hen <jeremie@le-hen.org>
To: freebsd-ports@FreeBSD.org
Message-ID: <20060629115953.GX10272@obiwan.tataz.chchile.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.11
Cc: jeremie@le-hen.org
Subject: Turning debugging on when compiling ports
X-BeenThere: freebsd-ports@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
	<mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports>
List-Post: <mailto:freebsd-ports@freebsd.org>
List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
	<mailto:freebsd-ports-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 29 Jun 2006 12:29:32 -0000

Hi there,

please Cc: me in your replies, I am not subscribed.

I've been faced to a Gaim bug recently and I have wanted to dig it out.

I looked for how to compile gaim with debug flags, but it seems they
are used to have bugs because Gaim is compiled with -g3 unconditionnaly.

The backtrace goes deep into glib.  Therefore I wanted to have glib
compiled with -g as well, but it occurs I cannot easily activate
it without hacking CFLAGS, which is a solution I would like to avoid
for some reasons.

Is there any other way to achieve this ?  Thank you

Thank you.
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >