From owner-freebsd-ports@FreeBSD.ORG Fri Sep 5 10:14:19 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 267D216A4BF; Fri, 5 Sep 2003 10:14:19 -0700 (PDT) Received: from svr7.m-online.net (svr7.m-online.net [62.245.150.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 565DA43FBD; Fri, 5 Sep 2003 10:14:18 -0700 (PDT) (envelope-from h@schmalzbauer.de) Received: from cale.flintsbach.schmalzbauer.de (ppp-62-245-161-92.mnet-online.de [62.245.161.92]) by svr7.m-online.net (Postfix) with ESMTP id 517927B461; Fri, 5 Sep 2003 19:14:17 +0200 (CEST) From: Harald Schmalzbauer To: "Sergey A. Osokin" Date: Fri, 5 Sep 2003 19:14:17 +0200 User-Agent: KMail/1.5.3 References: <200309051453.00914@harrymail> <20030905140413.GW48175@freebsd.org.ru> <200309051743.10749@harrymail> In-Reply-To: <200309051743.10749@harrymail> X-Birthday: 06 Oktober 1972 X-Name: Harald Schmalzbauer X-Phone1: +49 (0) 163 555 3237 X-Phone2: +49 (0) 89 18947781 X-Address: Munich, 80686 X-Country: Germany MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200309051914.18466@harrymail> cc: ports@FreeBSD.org Subject: Re: firebird borken under -current [WAS: Re: thunderbird broken (-pthread)] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2003 17:14:19 -0000 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