summaryrefslogtreecommitdiffstats
path: root/lang/python24
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2003-10-19 09:17:44 +0000
committerperky <perky@FreeBSD.org>2003-10-19 09:17:44 +0000
commit018c1341396e8eef5ff6b75fab2f3ce1b45c7aff (patch)
treec2142993c102c61d1262aa5b985c6a1479de9b04 /lang/python24
parent93ac781851d57d7a16498b73ea49dca699e145f3 (diff)
downloadFreeBSD-ports-018c1341396e8eef5ff6b75fab2f3ce1b45c7aff.zip
FreeBSD-ports-018c1341396e8eef5ff6b75fab2f3ce1b45c7aff.tar.gz
- 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]
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 4640958..989d80f 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
OpenPOWER on IntegriCloud