mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- Remove somewhat buggy libc_r lackness detection. (at least for bento)
- Bump PORTREVISION to enable the thread support in the package building environments.
This commit is contained in:
parent
953c94bbc6
commit
0da940ae8a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86494
@ -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}"
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= python
|
||||
PORTVERSION= 2.0.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= lang python
|
||||
MASTER_SITES= ${MASTER_SITE_PYTHON}
|
||||
MASTER_SITE_SUBDIR= ftp/python/${PORTVERSION}
|
||||
@ -39,8 +39,7 @@ SETUP_FILE= Setup
|
||||
# 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}"
|
||||
|
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user