Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Aug 2003 11:34:32 -0700
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports@FreeBSD.org
Subject:   Re: RFC: Ports and pthread
Message-ID:  <20030804183432.GB16526@toxic.magnesium.net>
In-Reply-To: <20030804181916.GD646@galgenberg.net>
References:  <20030804181916.GD646@galgenberg.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>> (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.

# Adam


--
Adam Weinberger
vectors.cx	>>  adam@vectors.cx	>>  http://www.vectors.cx
magnesium.net	<<  adamw@magnesium.net	<<  http://www.magnesium.net/~adamw
FreeBSD		>>  adamw@FreeBSD.org	>>  http://people.freebsd.org/~adamw
#vim:set ts=8: 8-char tabs prevent tooth decay.



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