diff options
author | tg <tg@FreeBSD.org> | 1998-03-03 08:05:04 +0000 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 1998-03-03 08:05:04 +0000 |
commit | 1d46a785fad82fb4c783dd2c6b4192542ff16ce4 (patch) | |
tree | c237c2ab0313e7aecfe42104c9e7e57d311a25b6 /lang/python22 | |
parent | 3d1793289a71f16ae66a923515e9f989bf28e9d2 (diff) | |
download | FreeBSD-ports-1d46a785fad82fb4c783dd2c6b4192542ff16ce4.zip FreeBSD-ports-1d46a785fad82fb4c783dd2c6b4192542ff16ce4.tar.gz |
Use -D_THREAD_SAFE when compiling the threaded version.
Diffstat (limited to 'lang/python22')
-rw-r--r-- | lang/python22/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/python22/Makefile b/lang/python22/Makefile index 90703f2..80ec47f 100644 --- a/lang/python22/Makefile +++ b/lang/python22/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 # |