From owner-freebsd-gnome@FreeBSD.ORG Tue Mar 4 19:01:58 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 AF9051065674; Tue, 4 Mar 2008 19:01:58 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao107.cox.net (eastrmmtao107.cox.net [68.230.240.59]) by mx1.freebsd.org (Postfix) with ESMTP id 5C2C68FC1D; Tue, 4 Mar 2008 19:01:58 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo03.cox.net ([68.1.16.126]) by eastrmmtao107.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20080304190157.OUHD11832.eastrmmtao107.cox.net@eastrmimpo03.cox.net>; Tue, 4 Mar 2008 14:01:57 -0500 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo03.cox.net with bizsmtp id x6vv1Y0064iy4EG0000000; Tue, 04 Mar 2008 13:55:56 -0500 Date: Tue, 04 Mar 2008 13:03:20 -0600 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: <200803041827.42384.roy@marples.name> 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: Tue, 04 Mar 2008 19:01:58 -0000 On Tue, 04 Mar 2008 12:27:42 -0600, Roy Marples wrote= : > 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 to = 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. >> That said, if you are using >> the FBSD linker in G/FBSD, and you're not seeing this problem, there >> must be something else that's keep Evo in the linker for so long. Th= us >> far, I haven't heard any default Gentoo option that may account for >> this. Perhaps you have some other libtool patches or other custom >> patches not in any version of FBSD...? > > Gentoo has a function called elibtoolize which tests and applies libto= ol > patches to the shipped copy. It's quite complicated as many packages s= hip > with old and customised libtools. Gentoo also forces packages to use t= he = > GNU > versioning sytem of x.y.z instead of the fbsd single digit, which make= s > library upgrades a bit less painful. There's also patches to ensure th= at > parallel make and install work. We have a hack for library version too, it's in Mk/bsd.gnome.mk called = ltverhack. Near all of our ports (maintain by gnome) are using it, it = helps a lot for upgrade just like with Gentoo. But you said that Gentoo = = get to use x.y.z and we just get to use correct ABI number. You can see = = the difference: http://www.freebsd.org/cgi/cvsweb.cgi/ports/x11/libgnome/pkg-plist.diff?= r1=3D1.59;r2=3D1.60 -lib/libgnome-2.so.1000 +lib/libgnome-2.so.0 Cheers, Mezz > Gentoo also uses binutils-2.17 on G/FBSD whereas last Iooked FBSD uses= = > 2.15. > Both use large and complicated patchsets compared to a vanilla binutil= s. > > I can't be much more help as I don't use G/FBSD since I retired from = > Gentoo, > but I do idle in #gentoo-bsd where I'm trying to get some users to get= a = > list > of all patches applied against evolution. > > Thanks > > Roy -- = mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org