summaryrefslogtreecommitdiffstats
path: root/lang/python15
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2003-08-07 11:30:17 +0000
committerperky <perky@FreeBSD.org>2003-08-07 11:30:17 +0000
commit370f1221a9d709c7c27001376dc464ef706b9ac9 (patch)
tree0bdc20a1abc532ba10617773040d07f5a2f688bf /lang/python15
parentb3042c8241bde70ca5b1c107da463110a3c2df6f (diff)
downloadFreeBSD-ports-370f1221a9d709c7c27001376dc464ef706b9ac9.zip
FreeBSD-ports-370f1221a9d709c7c27001376dc464ef706b9ac9.tar.gz
- Remove somewhat buggy libc_r lackness detection. (at least for bento)
- Bump PORTREVISION to enable the thread support in the package building environments.
Diffstat (limited to 'lang/python15')
-rw-r--r--lang/python15/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/lang/python15/Makefile b/lang/python15/Makefile
index cc97ed9..ab06530 100644
--- a/lang/python15/Makefile
+++ b/lang/python15/Makefile
@@ -7,7 +7,7 @@
PORTNAME= python
PORTVERSION= 1.5.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= lang python
MASTER_SITES= ${MASTER_SITE_PYTHON}
MASTER_SITE_SUBDIR= ftp/python/src
@@ -37,10 +37,9 @@ SETUP_FILE= Setup
#
# If you don't want to use Python's thread module, you need to set
-# WITHOUT_THREADS. libc_r should be installed on nowadays' systems.
+# 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-thread
CFLAGS+= ${PTHREAD_CFLAGS}
CONFIGURE_ENV+= LDFLAGS="${PTHREAD_LIBS} ${LDFLAGS}"
OpenPOWER on IntegriCloud