From owner-freebsd-ports Fri Oct 5 0:30:58 2001 Delivered-To: freebsd-ports@freebsd.org Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by hub.freebsd.org (Postfix) with ESMTP id 54ABD37B405 for ; Fri, 5 Oct 2001 00:30:55 -0700 (PDT) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.11.6/8.11.4) id f957UdS98869; Fri, 5 Oct 2001 09:30:39 +0200 (CEST) (envelope-from stijn) Date: Fri, 5 Oct 2001 09:30:39 +0200 From: Stijn Hoop To: Sean Chittenden Cc: freebsd-ports@freebsd.org Subject: Re: XFree86 depend on pth... Message-ID: <20011005093039.B81712@pcwin002.win.tue.nl> References: <20011004144849.A95453@rand.tgd.net> <20011004155841.E4193@johncoop.MSHOME> <20011004160601.E95453@rand.tgd.net> <20011004161906.G4193@johncoop.MSHOME> <20011004163817.H95453@rand.tgd.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="WhfpMioaduB5tiZL" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011004163817.H95453@rand.tgd.net>; from sean@chittenden.org on Thu, Oct 04, 2001 at 04:38:17PM -0700 X-Bright-Idea: Let's abolish HTML mail! Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --WhfpMioaduB5tiZL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Oct 04, 2001 at 04:38:17PM -0700, Sean Chittenden wrote: > Honestly, I don't really care about mesa and regardless, it doesn't > solve the problem of why XFree86 libs weren't compiling correctly. I've > had this prob on most of my boxen, and most vanilla. pth has always > fixed it... any thoughts on the following PR? > > http://www.freebsd.org/cgi/query-pr.cgi?pr=28551 It *seems* to me that the correct fix is for mail/xfaces to be build with CFLAGS+= -pthread. Ditto for cvsup. Try the attached patch and let us know if it works. I don't know why 'pth' solves the problem; probably because the thread functions then get linked in automatically. John is right in that the 'pth' port really shouldn't be needed, because FreeBSD native threads are quite well supported by most applications. --Stijn -- Q: Why is Batman better than Bill Gates? A: Batman was able to beat the Penguin. --WhfpMioaduB5tiZL Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="xfaces.patch" --- /usr/ports/mail/xfaces/Makefile Mon Feb 5 16:11:24 2001 +++ xfaces/Makefile Fri Oct 5 09:23:33 2001 @@ -26,6 +26,8 @@ USE_XPM= YES MAN1= xfaces.1 +CFLAGS+= ${PTHREAD_LIBS} + pre-configure: @${LN} -sf ../sounds ${WRKSRC} --WhfpMioaduB5tiZL-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message