From owner-freebsd-current@FreeBSD.ORG Fri Jan 30 07:23:03 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56D0416A4CE; Fri, 30 Jan 2004 07:23:03 -0800 (PST) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 580BB43D45; Fri, 30 Jan 2004 07:23:00 -0800 (PST) (envelope-from rodrigc@crodrigues.org) Received: from h00609772adf0.ne.client2.attbi.com ([66.31.45.197]) by comcast.net (rwcrmhc12) with ESMTP id <2004013015225901400as7ree>; Fri, 30 Jan 2004 15:22:59 +0000 Received: from h00609772adf0.ne.client2.attbi.com (localhost.crodrigues.org [127.0.0.1])i0UFN7Nb068010; Fri, 30 Jan 2004 10:23:07 -0500 (EST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost)i0UFN655068009; Fri, 30 Jan 2004 10:23:06 -0500 (EST) (envelope-from rodrigc) Date: Fri, 30 Jan 2004 10:23:06 -0500 From: Craig Rodrigues To: deischen@freebsd.org Message-ID: <20040130152306.GB67964@crodrigues.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: ports@freebsd.org cc: current@freebsd.org Subject: Re: HEADS UP: libkse -> libpthread switch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2004 15:23:03 -0000 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