Date: Fri, 30 Jan 2004 10:23:06 -0500 From: Craig Rodrigues <rodrigc@crodrigues.org> To: deischen@freebsd.org Cc: current@freebsd.org Subject: Re: HEADS UP: libkse -> libpthread switch Message-ID: <20040130152306.GB67964@crodrigues.org> In-Reply-To: <Pine.GSO.4.10.10401300722060.7499-100000@pcnet5.pcnet.com> References: <Pine.GSO.4.10.10401300722060.7499-100000@pcnet5.pcnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
Are you bumping FreeBSD_version?
/usr/ports/Mk/bsd.port.mk defined PTHREAD_LIBS and PTHREAD_CFLAGS
based on the OS version:
.if ${OSVERSION} < 500016
PTHREAD_CFLAGS= -D_THREAD_SAFE
PTHREAD_LIBS= -pthread
.else
PTHREAD_CFLAGS= -D_THREAD_SAFE
PTHREAD_LIBS= -lc_r
.endif
--
Craig Rodrigues
http://crodrigues.org
rodrigc@crodrigues.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040130152306.GB67964>
