firebird borken under -current [WAS: Re: thunderbird broken (-pthread)]

Harald Schmalzbauer h at schmalzbauer.de
Fri Sep 5 10:14:19 PDT 2003


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



More information about the freebsd-ports mailing list