summaryrefslogtreecommitdiff
path: root/lang/python23/Makefile
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2004-05-27 15:58:02 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2004-05-27 15:58:02 +0000
commit7866c5194c5f15d90bbb54820bb31a69998c6bed (patch)
treeeb238db7252a16aab5fb4ffc996c86d0e23c9d2f /lang/python23/Makefile
parent- Add WWW (diff)
- Update to Python 2.3.4.
- Test WITHOUT_* instead of WITH_* for values which are on by default so that package build clusters detect correctly.
Notes
Notes: svn path=/head/; revision=110139
Diffstat (limited to 'lang/python23/Makefile')
-rw-r--r--lang/python23/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/lang/python23/Makefile b/lang/python23/Makefile
index 149b35f9877d..59648c58b0c8 100644
--- a/lang/python23/Makefile
+++ b/lang/python23/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= python
-PORTVERSION= 2.3.3
-PORTREVISION= 5
+PORTVERSION= 2.3.4
CATEGORIES= lang python ipv6
MASTER_SITES= ${PYTHON_MASTER_SITES}
MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR}
@@ -40,12 +39,12 @@ TOOLSDIR= ${PREFIX}/share/${PYTHON_VERSION}
OPTIONS= THREADS "Enable thread support" on \
HUGE_STACK_SIZE "Use a larger thread stack" off \
- UCS2 "Use UCS2 instead of UCS4 for unicode support" off \
+ UCS4 "Use UCS4 for unicode support" on \
PYMALLOC "Uses python's internal malloc" on
.include <bsd.port.pre.mk>
-.if defined(WITH_THREADS)
+.if !defined(WITHOUT_THREADS)
CONFIGURE_ARGS+= --with-threads
CFLAGS+= ${PTHREAD_CFLAGS}
.if defined(WITHOUT_HUGE_STACK_SIZE)
@@ -61,7 +60,7 @@ CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
.endif # defined(LDFLAGS)
.endif # defined(WITH_THREADS)
-.if defined(WITHOUT_UCS2)
+.if !defined(WITHOUT_UCS4) && !defined(WITH_UCS2)
CONFIGURE_ARGS+= --enable-unicode=ucs4
.endif