From 018c1341396e8eef5ff6b75fab2f3ce1b45c7aff Mon Sep 17 00:00:00 2001 From: perky Date: Sun, 19 Oct 2003 09:17:44 +0000 Subject: - 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] --- lang/python/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lang/python/Makefile') diff --git a/lang/python/Makefile b/lang/python/Makefile index 46409584b548..989d80f71733 100644 --- a/lang/python/Makefile +++ b/lang/python/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 -- cgit