summaryrefslogtreecommitdiffstats
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
parent3d1793289a71f16ae66a923515e9f989bf28e9d2 (diff)
downloadFreeBSD-ports-1d46a785fad82fb4c783dd2c6b4192542ff16ce4.zip
FreeBSD-ports-1d46a785fad82fb4c783dd2c6b4192542ff16ce4.tar.gz
Use -D_THREAD_SAFE when compiling the threaded version.
-rw-r--r--lang/python+ipv6/Makefile3
-rw-r--r--lang/python-devel/Makefile3
-rw-r--r--lang/python/Makefile3
-rw-r--r--lang/python15/Makefile3
-rw-r--r--lang/python20/Makefile3
-rw-r--r--lang/python21/Makefile3
-rw-r--r--lang/python22/Makefile3
-rw-r--r--lang/python23/Makefile3
-rw-r--r--lang/python24/Makefile3
-rw-r--r--lang/python25/Makefile3
-rw-r--r--lang/python26/Makefile3
-rw-r--r--lang/python27/Makefile3
-rw-r--r--lang/python30/Makefile3
-rw-r--r--lang/python31/Makefile3
-rw-r--r--lang/python32/Makefile3
15 files changed, 30 insertions, 15 deletions
diff --git a/lang/python+ipv6/Makefile b/lang/python+ipv6/Makefile
index 90703f2..80ec47f 100644
--- a/lang/python+ipv6/Makefile
+++ b/lang/python+ipv6/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
#
diff --git a/lang/python-devel/Makefile b/lang/python-devel/Makefile
index 90703f2..80ec47f 100644
--- a/lang/python-devel/Makefile
+++ b/lang/python-devel/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
#
diff --git a/lang/python/Makefile b/lang/python/Makefile
index 90703f2..80ec47f 100644
--- a/lang/python/Makefile
+++ b/lang/python/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
#
diff --git a/lang/python15/Makefile b/lang/python15/Makefile
index 90703f2..80ec47f 100644
--- a/lang/python15/Makefile
+++ b/lang/python15/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
#
diff --git a/lang/python20/Makefile b/lang/python20/Makefile
index 90703f2..80ec47f 100644
--- a/lang/python20/Makefile
+++ b/lang/python20/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
#
diff --git a/lang/python21/Makefile b/lang/python21/Makefile
index 90703f2..80ec47f 100644
--- a/lang/python21/Makefile
+++ b/lang/python21/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
#
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
#
diff --git a/lang/python23/Makefile b/lang/python23/Makefile
index 90703f2..80ec47f 100644
--- a/lang/python23/Makefile
+++ b/lang/python23/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
#
diff --git a/lang/python24/Makefile b/lang/python24/Makefile
index 90703f2..80ec47f 100644
--- a/lang/python24/Makefile
+++ b/lang/python24/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
#
diff --git a/lang/python25/Makefile b/lang/python25/Makefile
index 90703f2..80ec47f 100644
--- a/lang/python25/Makefile
+++ b/lang/python25/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
#
diff --git a/lang/python26/Makefile b/lang/python26/Makefile
index 90703f2..80ec47f 100644
--- a/lang/python26/Makefile
+++ b/lang/python26/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
#
diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index 90703f2..80ec47f 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
#
diff --git a/lang/python30/Makefile b/lang/python30/Makefile
index 90703f2..80ec47f 100644
--- a/lang/python30/Makefile
+++ b/lang/python30/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
#
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
#
diff --git a/lang/python32/Makefile b/lang/python32/Makefile
index 90703f2..80ec47f 100644
--- a/lang/python32/Makefile
+++ b/lang/python32/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