aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python27
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1998-03-03 16:05:04 +0800
committertg <tg@FreeBSD.org>1998-03-03 16:05:04 +0800
commit1d46a785fad82fb4c783dd2c6b4192542ff16ce4 (patch)
treec237c2ab0313e7aecfe42104c9e7e57d311a25b6 /lang/python27
parent3d1793289a71f16ae66a923515e9f989bf28e9d2 (diff)
downloadfreebsd-ports-gnome-1d46a785fad82fb4c783dd2c6b4192542ff16ce4.tar.gz
freebsd-ports-gnome-1d46a785fad82fb4c783dd2c6b4192542ff16ce4.tar.zst
freebsd-ports-gnome-1d46a785fad82fb4c783dd2c6b4192542ff16ce4.zip
Use -D_THREAD_SAFE when compiling the threaded version.
Diffstat (limited to 'lang/python27')
-rw-r--r--lang/python27/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index 90703f216167..80ec47f185c8 100644
--- a/lang/python27/Makefile
+++ b/lang/python27/Makefile
@@ -3,7 +3,7 @@
# Date created: 08 August 1995
# Whom: jkh
#
-# $Id: Makefile,v 1.21 1998/02/24 21:43:19 jseger Exp $
+# $Id: Makefile,v 1.22 1998/02/27 10:21:32 tg Exp $
#
DISTNAME= python1.5
@@ -48,6 +48,7 @@ SETUP_LOCAL= Setup.tk
WITH_THREADS?= yes
.if exists(/usr/lib/libc_r.a) && defined(WITH_THREADS) && ${WITH_THREADS} == yes
CONFIGURE_ARGS+= --with-thread
+CFLAGS+= -D_THREAD_SAFE
.endif
#