aboutsummaryrefslogtreecommitdiff
path: root/lang/python21/Makefile
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2003-08-07 11:30:17 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2003-08-07 11:30:17 +0000
commit0da940ae8ac399be2b692f3b26bef56109a364a1 (patch)
tree6b89462b652ba7ef54e564e1a4ca5c7b9ce85c9f /lang/python21/Makefile
parent953c94bbc6b718e850dae3077a985952bdc7a198 (diff)
downloadports-0da940ae8ac399be2b692f3b26bef56109a364a1.tar.gz
ports-0da940ae8ac399be2b692f3b26bef56109a364a1.zip
Notes
Diffstat (limited to 'lang/python21/Makefile')
-rw-r--r--lang/python21/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/lang/python21/Makefile b/lang/python21/Makefile
index 58278e42f66c..7e76fac90684 100644
--- a/lang/python21/Makefile
+++ b/lang/python21/Makefile
@@ -7,7 +7,7 @@
PORTNAME= python
PORTVERSION= 2.1.3
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= lang python
MASTER_SITES= ${MASTER_SITE_PYTHON}
MASTER_SITE_SUBDIR= ftp/python/${PORTVERSION}
@@ -33,8 +33,7 @@ LATEST_LINK= ${PYTHON_VERSION:S/.//}
# 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(NOLIBC_R) && !defined(WITHOUT_THREADS)
CONFIGURE_ARGS+= --with-threads
CFLAGS+= ${PTHREAD_CFLAGS}
CONFIGURE_ENV+= LDFLAGS="${PTHREAD_LIBS} ${LDFLAGS}"