summaryrefslogtreecommitdiffstats
path: root/lang/python31
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1998-03-03 08:05:04 +0000
committertg <tg@FreeBSD.org>1998-03-03 08:05:04 +0000
commit1d46a785fad82fb4c783dd2c6b4192542ff16ce4 (patch)
treec237c2ab0313e7aecfe42104c9e7e57d311a25b6 /lang/python31
parent3d1793289a71f16ae66a923515e9f989bf28e9d2 (diff)
downloadFreeBSD-ports-1d46a785fad82fb4c783dd2c6b4192542ff16ce4.zip
FreeBSD-ports-1d46a785fad82fb4c783dd2c6b4192542ff16ce4.tar.gz
Use -D_THREAD_SAFE when compiling the threaded version.
Diffstat (limited to 'lang/python31')
-rw-r--r--lang/python31/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/python31/Makefile b/lang/python31/Makefile
index 90703f2..80ec47f 100644
--- a/lang/python31/Makefile
+++ b/lang/python31/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
#
OpenPOWER on IntegriCloud