RFC: Ports and pthread
Adam Weinberger
adamw at FreeBSD.org
Mon Aug 4 11:34:33 PDT 2003
>> (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 at vectors.cx >> http://www.vectors.cx
magnesium.net << adamw at magnesium.net << http://www.magnesium.net/~adamw
FreeBSD >> adamw at FreeBSD.org >> http://people.freebsd.org/~adamw
#vim:set ts=8: 8-char tabs prevent tooth decay.
More information about the freebsd-ports
mailing list