diff options
author | perky <perky@FreeBSD.org> | 2003-10-19 17:17:44 +0800 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2003-10-19 17:17:44 +0800 |
commit | 018c1341396e8eef5ff6b75fab2f3ce1b45c7aff (patch) | |
tree | c2142993c102c61d1262aa5b985c6a1479de9b04 /lang | |
parent | 93ac781851d57d7a16498b73ea49dca699e145f3 (diff) | |
download | freebsd-ports-gnome-018c1341396e8eef5ff6b75fab2f3ce1b45c7aff.tar.gz freebsd-ports-gnome-018c1341396e8eef5ff6b75fab2f3ce1b45c7aff.tar.zst freebsd-ports-gnome-018c1341396e8eef5ff6b75fab2f3ce1b45c7aff.zip |
- 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')
-rw-r--r-- | lang/python/Makefile | 6 | ||||
-rw-r--r-- | lang/python23/Makefile | 6 | ||||
-rw-r--r-- | lang/python24/Makefile | 6 |
3 files changed, 15 insertions, 3 deletions
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 diff --git a/lang/python23/Makefile b/lang/python23/Makefile index 46409584b548..989d80f71733 100644 --- a/lang/python23/Makefile +++ b/lang/python23/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 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 |