Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Aug 2003 08:31:10 +0000
From:      Philip Reynolds <philip.reynolds@rfc-networks.ie>
To:        freebsd-ports@freebsd.org
Subject:   Re: RFC: Ports and pthread
Message-ID:  <20030805083110.GD84015@rfc-networks.ie>
In-Reply-To: <20030804183432.GB16526@toxic.magnesium.net>
References:  <20030804181916.GD646@galgenberg.net> <20030804183432.GB16526@toxic.magnesium.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Adam Weinberger <adamw@FreeBSD.org> 30 lines of wisdom included:
> >> (08.04.2003 @ 1119 PST): Ulrich Spoerlein said, in 2.1K: <<
> > Therefore I propose a new variable to bsd.port.mk used like this:
> > USE_PTHREAD_HACK=       configure
> > 
> > Which will do the following in post-patch:
> > .for file in ${USE_PTHREAD_HACK}
> >         ${REINPLACE_CMD} "s/-lpthread/${PTHREAD_LIBS}/g" ${WRKSRC}/$file
> > .endfor
> > 
> > And PTHREAD_LIBS either set to -pthread, -lpthread, -lthr or -lc_r.
> >> end of "RFC: Ports and pthread" from Ulrich Spoerlein <<
> 
> Even if it's not a GNOME app, I just use:
> USE_GNOME=	gnomehack
> 
> which accomplishes the same thing, and is already there.

Maybe it would be wise to move this as a separate option and let
USE_GNOME define it? 

I certainly had no idea that USE_GNOME did any such thing (is this
documented anywhere?)

-- 
Philip Reynolds                      | RFC Networks Ltd.
philip.reynolds@rfc-networks.ie      | +353 (0)1 8832063
http://people.rfc-networks.ie/~phil  | www.rfc-networks.ie



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