summaryrefslogtreecommitdiff
path: root/lang/python24
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2003-10-19 09:17:44 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2003-10-19 09:17:44 +0000
commit16d82beb8e096650fe167a1dfcf338eae4fc4c55 (patch)
tree37bb34541d3289d323073da4b0e2d858ef154870 /lang/python24
parentPrev. update was incomplete (diff)
- Add WITHOUT_PYMALLOC knob that disables pymalloc, the internal
optimized heap manager for Python 2.3. [1] - Utilize PYTHON_SITE_SUBDIR. Submitted by: kuriyama [1]
Notes
Notes: svn path=/head/; revision=91642
Diffstat (limited to 'lang/python24')
-rw-r--r--lang/python24/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/python24/Makefile b/lang/python24/Makefile
index 46409584b548..989d80f71733 100644
--- a/lang/python24/Makefile
+++ b/lang/python24/Makefile
@@ -9,7 +9,7 @@ PORTNAME= python
PORTVERSION= 2.3.2
CATEGORIES= lang python ipv6
MASTER_SITES= ${MASTER_SITE_PYTHON}
-MASTER_SITE_SUBDIR= ftp/python/${PORTVERSION}
+MASTER_SITE_SUBDIR= ${PYTHON_SITE_SUBDIR}
DISTFILES= ${PYTHON_DISTFILE}
MAINTAINER= perky@FreeBSD.org
@@ -52,6 +52,10 @@ CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS+= --enable-unicode=ucs4
.endif
+.if defined(WITHOUT_PYMALLOC)
+CONFIGURE_ARGS+= --without-pymalloc
+.endif
+
.if defined(BUILD_SHARED)
CONFIGURE_ARGS+= --enable-shared
INSTALLS_SHLIB= yes