summaryrefslogtreecommitdiffstats
path: root/lang/python32
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-03-29 16:35:19 +0000
committersobomax <sobomax@FreeBSD.org>2001-03-29 16:35:19 +0000
commit6e2b9def0c49c3e565a14f5987fd3e9f46d285c6 (patch)
treec23d8d7c62c20c0978b7a404b38eb7b9d5596d0f /lang/python32
parentfaa774bb672904227e681f88c16cfceef448ef6c (diff)
downloadFreeBSD-ports-6e2b9def0c49c3e565a14f5987fd3e9f46d285c6.zip
FreeBSD-ports-6e2b9def0c49c3e565a14f5987fd3e9f46d285c6.tar.gz
-pthread --> ${PTHREAD_LIBS}
-D_THREAD_SAFE --> ${PTHREAD_CFLAGS} Note: my first intention was to test this out on bento/beta, but per ade's requiest I opted to do it quickly.
Diffstat (limited to 'lang/python32')
-rw-r--r--lang/python32/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/python32/Makefile b/lang/python32/Makefile
index 06e31e8..3a8b9a6 100644
--- a/lang/python32/Makefile
+++ b/lang/python32/Makefile
@@ -39,8 +39,8 @@ SETUP_FILE= Setup
LIBC_R!= /sbin/ldconfig -r | grep c_r || true
.if (${LIBC_R} != "") && !defined(WITHOUT_THREADS)
CONFIGURE_ARGS+= --with-threads
-CFLAGS+= -D_THREAD_SAFE
-CONFIGURE_ENV+= LDFLAGS="-pthread ${LDFLAGS}"
+CFLAGS+= ${PTHREAD_CFLAGS}
+CONFIGURE_ENV+= LDFLAGS="${PTHREAD_LIBS} ${LDFLAGS}"
.else
CONFIGURE_ARGS+= --without-threads
.endif
OpenPOWER on IntegriCloud