summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2002-02-24 16:54:34 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2002-02-24 16:54:34 +0000
commita35cebf9cf59d826baa5fbbe058c6c2f58a85e66 (patch)
treeb15ec11b5b6963b5a709c2e81358b2e8d7646c14
parentSourceforge now hosting distfile (diff)
Add -D_THREAD_SAFE for -current too
Approved by: portmgr & ports silence
Notes
Notes: svn path=/head/; revision=55190
-rw-r--r--Mk/bsd.port.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index af1a3fcd38fb..6577bf60af58 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1071,7 +1071,7 @@ MAKE_ENV+= PREFIX=${PREFIX} LOCALBASE=${LOCALBASE} X11BASE=${X11BASE} MOTIFLIB=
PTHREAD_CFLAGS= -D_THREAD_SAFE
PTHREAD_LIBS= "-pthread"
.else
-PTHREAD_CFLAGS= ""
+PTHREAD_CFLAGS= -D_THREAD_SAFE
PTHREAD_LIBS= "-lc_r"
.endif