Date: 02 Feb 2002 23:49:19 -0500 From: Joe Clarke <marcus@marcuscom.com> To: Maxim Sobolev <sobomax@mail.ru> Cc: gnome@FreeBSD.ORG Subject: Re: Missing continue in patch-ltmain.sh Message-ID: <1012711759.94552.10.camel@shumai.marcuscom.com> In-Reply-To: <1012694178.927.33.camel@notebook> References: <1012689198.65931.43.camel@shumai.marcuscom.com> <1012694178.927.33.camel@notebook>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2002-02-02 at 18:56, Maxim Sobolev wrote: > On Sun, 2002-02-03 at 00:33, Joe Clarke wrote: > > Maxim, the recent changes you made to patch-ltmain.sh in a few ports > > have had a bad effect on -stable. These ports will refuse to link due > > to -pthread missing from the linker arguments. The problem is the > > continue you added after compiler_flags="$compiler_flags -pthread", > > compiler_flags gets overwritten. I think the continue should be left > > out when setting compiler_flags. > > > > The problem affects glade and mrproject at least. It looks like any > > port that contains an application will run into this problem in the > > linking phase. Therefore, gnomevfs is not affected. > > Grrr, it seems that libtool doesn't use compiler_flags when linking > executable. Attached please find updated version of patch-ltmain.sh > which should fix the issue. Unfortunately currently I do not have a 4.x > machine to test this patch on, so that it would be really nice if you > could test it with failing ports (mrproject and glade) and let me know > ASAP. This patch works just fine. I'm wondering, though, why we need this block at all? -pthread seems to be passed through to libtool just fine in all the ports I've seen. In any event, this fixes ports/34512. Thanks. Joe > > Thanks! > > -Maxim > P.S. As the patch-ltmain.sh growth larger and larger I'm more and more > tempted to take several days and rewrite libtool in C specifically for > FreeBSD. > > ---- > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1012711759.94552.10.camel>