From owner-freebsd-gnome@FreeBSD.ORG Wed Mar 12 18:12:55 2008 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83383106566C; Wed, 12 Mar 2008 18:12:55 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao101.cox.net (eastrmmtao101.cox.net [68.230.240.7]) by mx1.freebsd.org (Postfix) with ESMTP id F38E78FC52; Wed, 12 Mar 2008 18:12:54 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao101.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20080312181253.IRXL880.eastrmmtao101.cox.net@eastrmimpo01.cox.net>; Wed, 12 Mar 2008 14:12:53 -0400 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo01.cox.net with bizsmtp id 0JCR1Z00B4iy4EG02JCRfg; Wed, 12 Mar 2008 14:12:26 -0400 Date: Wed, 12 Mar 2008 13:14:22 -0500 To: "Roy Marples" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <20080301181608.5d393e02.ejcerejo@optonline.net> <20080304104855.8dk4kbnbac4g4kc4@webmail.leidinger.net> <47CD866C.8020909@freebsd.org> <200803041827.42384.roy@marples.name> Content-Transfer-Encoding: Quoted-Printable Message-ID: In-Reply-To: User-Agent: Opera Mail/9.26 (Linux) Cc: Alexander Leidinger , Joe Marcus Clarke , freebsd-gnome@freebsd.org Subject: Re: Evolution crawls on FreeBSD X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Mar 2008 18:12:55 -0000 On Tue, 04 Mar 2008 13:03:20 -0600, Jeremy Messenger wro= te: > On Tue, 04 Mar 2008 12:27:42 -0600, Roy Marples wro= te: > >> On Tuesday 04 March 2008 17:27:08 Joe Marcus Clarke wrote: >>> All GNOME ports honor LDFLAGS. >> >> I'm pretty sure evolution didn't when I tested this a few months ago.= = >> I'll retest once I get my fbsd box back up. > > You can't just add in /etc/make.conf. You have to edit in = > evolution/Makefile. If you want to get make.conf works, it will need t= o = > be add ${LDFLAGS} like this: > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > CONFIGURE_ENV=3D CPPFLAGS=3D"-I${LOCALBASE}/include" \ > LDFLAGS=3D"-L${LOCALBASE}/lib ${LDFLAGS}" > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > Then add in make.conf: > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > LDFLAGS=3D-Wl,--as-needed > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > I haven't test it, but it should works. Tweak in LDFLAGS wasn't good enough. It doesn't change anything. marcus = = has found a way to hack in Evolution libtool to add '-Wl,--as-needed' an= d = finally helps Evolution to start up a lot faster. You can see the = difference: http://people.freebsd.org/~mezz/evolution.txt marcus has added it in bsd.gnome.mk called ltasneededhack in MC CVS. The= = evolution port in MC CVS is using it. It will be coming with GNOME 2.22.= Just add a note to maintainers, if you want to use ltasneededhack. You = have to make sure about that you test throught in your port before you = commit it. It has caused Evolution plugins to show up bugs and marcus ha= s = to add a patch in a plugin to make sure it doesn't use '-Wl,--as-needed'= . Cheers, Mezz -- = mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org