Initial list of ports that fail due to -pthread

John Birrell jb at cimlogic.com.au
Tue Sep 23 23:35:15 PDT 2003


[ cc trimmed ]

On Wed, Sep 24, 2003 at 08:21:11AM +0200, Stijn Hoop wrote:
> Well, great. Let's go and fix some ports then, and everybody will be happy :)
> But if this is really the way to go, we probably need some hack to bsd.port.mk
> to make PTHREAD_LIBS standard because otherwise every port that needs a
> threads library needs to have PTHREAD_LIBS hacks.

Yes, to support PTHREAD_LIBS properly in bsd.port.mk, you do need to add

PTHREAD_LIBS=${PTHREAD_LIBS} PTHREAD_CFLAGS=${PTHREAD_CFLAGS}

to CONFIGURE_ENV.

-- 
John Birrell


More information about the freebsd-ports mailing list