Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Oct 2001 09:30:39 +0200
From:      Stijn Hoop <stijn@win.tue.nl>
To:        Sean Chittenden <sean@chittenden.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: XFree86 depend on pth...
Message-ID:  <20011005093039.B81712@pcwin002.win.tue.nl>
In-Reply-To: <20011004163817.H95453@rand.tgd.net>; from sean@chittenden.org on Thu, Oct 04, 2001 at 04:38:17PM -0700
References:  <20011004144849.A95453@rand.tgd.net> <20011004155841.E4193@johncoop.MSHOME> <20011004160601.E95453@rand.tgd.net> <20011004161906.G4193@johncoop.MSHOME> <20011004163817.H95453@rand.tgd.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




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