Getting -pthread support back into local source tree

Scot W. Hetzel hetzelsw at westbend.net
Sat Sep 20 18:03:34 PDT 2003


From: "Scot W. Hetzel" <hetzelsw at westbend.net>
> From: "Dan Naumov" <dan.naumov at ofw.fi>
> > Seeing as -pthread support has been removed from -CURRENT breaking
> > _LOTS_ of ports, is it possible to "get it back" into a local source
> > tree ? If so, how ? Thanks in advance.
> >
> All you need to do is add:
>
>     CONFIGURE_ENV+=    PTHREAD_LIBS=${PTHREAD_LIBS} \
>
PTHREAD_CFLAGS=${PTHREAD_CFLAGS}
>
A better place for the above is to add it to bsd.port.mk where
PTHREAD_{CFLAGS,LIBS} are defined. With the attached patch.

Scot

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pthread.patch
Type: application/octet-stream
Size: 596 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030920/f6ccc464/pthread.obj


More information about the freebsd-current mailing list