aboutsummaryrefslogtreecommitdiff
path: root/lang/python24
diff options
context:
space:
mode:
authorAlan Eldridge <alane@FreeBSD.org>2002-11-21 15:32:09 +0000
committerAlan Eldridge <alane@FreeBSD.org>2002-11-21 15:32:09 +0000
commit3c9be6b0f39bf8109962ad7bb47c88b5124fbb88 (patch)
treef532e5dc21ec34ed8cc13308091f54292346fc5d /lang/python24
parent12d36bb812dd0f3df68da464faaf070c77de9f05 (diff)
downloadports-3c9be6b0f39bf8109962ad7bb47c88b5124fbb88.tar.gz
ports-3c9be6b0f39bf8109962ad7bb47c88b5124fbb88.zip
Notes
Diffstat (limited to 'lang/python24')
-rw-r--r--lang/python24/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/lang/python24/Makefile b/lang/python24/Makefile
index dc11f17e397c..a7dcc62affa3 100644
--- a/lang/python24/Makefile
+++ b/lang/python24/Makefile
@@ -32,14 +32,16 @@ PYTHON_NO_DEPENDS= yes
# If you don't want to use Python's thread module, you need to set
# WITHOUT_THREADS.
#
-LIBC_R!= /sbin/ldconfig -r | grep c_r || true
-.if (${LIBC_R} != "") && !defined(WITHOUT_THREADS)
+.if !defined(WITHOUT_THREADS)
CONFIGURE_ARGS+= --with-threads
CFLAGS+= ${PTHREAD_CFLAGS}
CONFIGURE_ENV+= LDFLAGS="${PTHREAD_LIBS} ${LDFLAGS}"
.else
CONFIGURE_ARGS+= --without-threads
-.endif
+.if defined(LDFLAGS)
+CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
+.endif # defined(LDFLAGS)
+.endif # !defined(WITHOUT_THREADS)
DEMODIR= ${PREFIX}/share/examples/${PYTHON_VERSION}