Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2002 10:23:13 +0300
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        portmgr@FreeBSD.org, ports@FreeBSD.org
Subject:   bsd.port.mk patch for review
Message-ID:  <20020219072313.GA94803@nagual.pp.ru>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020219072313.GA94803>