From owner-freebsd-ports Mon Feb 18 23:23:22 2002 Delivered-To: freebsd-ports@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 5A2EB37B402; Mon, 18 Feb 2002 23:23:16 -0800 (PST) Received: (from ache@localhost) by nagual.pp.ru (8.11.6/8.11.6) id g1J7NFc94833; Tue, 19 Feb 2002 10:23:15 +0300 (MSK) (envelope-from ache) Date: Tue, 19 Feb 2002 10:23:13 +0300 From: "Andrey A. Chernov" To: portmgr@FreeBSD.org, ports@FreeBSD.org Subject: bsd.port.mk patch for review Message-ID: <20020219072313.GA94803@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org According to Daniel: "A threaded app built in -current should compile with -D_THREAD_SAFE (for POSIX semantics, but is really a noop in FreeBSD)" --- bsd.port.mk.bak Sat Jan 26 04:05:47 2002 +++ bsd.port.mk Tue Feb 19 10:21:06 2002 @@ -1071,7 +1071,7 @@ PTHREAD_CFLAGS= -D_THREAD_SAFE PTHREAD_LIBS= "-pthread" .else -PTHREAD_CFLAGS= "" +PTHREAD_CFLAGS= -D_THREAD_SAFE PTHREAD_LIBS= "-lc_r" .endif -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message