Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Sep 2003 19:14:17 +0200
From:      Harald Schmalzbauer <h@schmalzbauer.de>
To:        "Sergey A. Osokin" <osa@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: firebird borken under -current [WAS: Re: thunderbird broken (-pthread)]
Message-ID:  <200309051914.18466@harrymail>
In-Reply-To: <200309051743.10749@harrymail>
References:  <200309051453.00914@harrymail> <20030905140413.GW48175@freebsd.org.ru> <200309051743.10749@harrymail>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 05 September 2003 17:43, Harald Schmalzbauer wrote:
> On Friday 05 September 2003 16:04, Sergey A. Osokin wrote:
>
> *SNIP*
>
> > > > Looks like it has todo with the latest gcc change.
> >
> > Do something like this:
> > $ cd ports/mail/mozilla-thunderbird
> > $ make clean patch
> > $ find work/mozilla -name Makefile -type f | xargs sed -e 's|-pthread |
> > |'
>
> This didn't work for me.
> I'm no programmer but I think removing the line:
> 	ac_add_options --enable-pthread
> in ${WRKSRC}/.mozconfig
>
> and commenting out the following in ${WRKSRC}/js/src/Makefile
>
> ifeq ($(OS_ARCH),FreeBSD)
> LDFLAGS         += -pthread
> endif

And in $WRKSRC/security/coreconf/FreeBSD.mk I also commented out the 
following:
#
# The default implementation strategy for FreeBSD is pthreads.
#
#ifndef CLASSIC_NSPR
#USE_PTHREADS           = 1
#DEFINES                        += -D_THREAD_SAFE -D_REENTRANT
#OS_LIBS                        += -pthread
#DSO_LDOPTS             += -pthread
#endif

Right now it continues compiling, but I don't really know what I do.
I don't really understand the lc_r, pthread etc stuff.

Someone with coder skills should have a look at the mozilla 
(firebird,thunderbird) stuff

Thanks,

-Harry


>
> would help
>
> Thanks,
>
> -Harry
>
> > $ make



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309051914.18466>