diff options
author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2011-08-19 13:09:30 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2011-08-19 13:09:30 +0000 |
commit | 80b804c403827a7276588b6245b3cd6043165bd4 (patch) | |
tree | 1133188e0de81a4bec033859292dcba479863668 /lang/python31 | |
parent | b6ac688edda69f5106e384a5e9806f64386b9c0f (diff) | |
download | ports-80b804c403827a7276588b6245b3cd6043165bd4.tar.gz ports-80b804c403827a7276588b6245b3cd6043165bd4.zip |
Notes
Diffstat (limited to 'lang/python31')
-rw-r--r-- | lang/python31/Makefile | 4 | ||||
-rw-r--r-- | lang/python31/pkg-plist | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lang/python31/Makefile b/lang/python31/Makefile index 18f2e9978bb3..0650170d3525 100644 --- a/lang/python31/Makefile +++ b/lang/python31/Makefile @@ -67,6 +67,7 @@ PLIST_SUB+= IF_DEFAULT="@comment " CFLAGS+= -D__wchar_t=wchar_t .if !defined(WITHOUT_THREADS) +PLIST_SUB+= THREADS="" CONFIGURE_ARGS+= --with-threads CFLAGS+= ${PTHREAD_CFLAGS} .if defined(WITHOUT_HUGE_STACK_SIZE) @@ -75,7 +76,8 @@ CFLAGS+= -DTHREAD_STACK_SIZE=0x20000 CFLAGS+= -DTHREAD_STACK_SIZE=0x100000 .endif # defined(WITHOUT_HUGE_STACK_SIZE) CONFIGURE_ENV+= LDFLAGS="${PTHREAD_LIBS} ${LDFLAGS}" -.else +.else # defined(WITHOUT_THREADS) +PLIST_SUB+= THREADS="@comment " CONFIGURE_ARGS+= --without-threads .if defined(LDFLAGS) CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" diff --git a/lang/python31/pkg-plist b/lang/python31/pkg-plist index c186aed766c0..a40334f4dab5 100644 --- a/lang/python31/pkg-plist +++ b/lang/python31/pkg-plist @@ -711,7 +711,7 @@ libdata/pkgconfig/python-3.1.pc %%PYTHON_LIBDIR%%/lib-dynload/_json.so %%PYTHON_LIBDIR%%/lib-dynload/_lsprof.so %%PYTHON_LIBDIR%%/lib-dynload/_multibytecodec.so -%%PYTHON_LIBDIR%%/lib-dynload/_multiprocessing.so +%%THREADS%%%%PYTHON_LIBDIR%%/lib-dynload/_multiprocessing.so %%PYTHON_LIBDIR%%/lib-dynload/_pickle.so %%PYTHON_LIBDIR%%/lib-dynload/_random.so %%PYTHON_LIBDIR%%/lib-dynload/_sha256.so |