aboutsummaryrefslogtreecommitdiff
path: root/lang/python24
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python24')
-rw-r--r--lang/python24/Makefile8
-rw-r--r--lang/python24/files/patch-setup.py2
-rw-r--r--lang/python24/pkg-plist3
3 files changed, 3 insertions, 10 deletions
diff --git a/lang/python24/Makefile b/lang/python24/Makefile
index b548510597d6..400b87953447 100644
--- a/lang/python24/Makefile
+++ b/lang/python24/Makefile
@@ -17,7 +17,7 @@ MAINTAINER?= tg@FreeBSD.org
DIST_SUBDIR= python
WRKSRC= ${PYTHON_WRKSRC}
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-fpectl
+#CONFIGURE_ARGS= --with-fpectl
CONFIGURE_ENV= OPT="${CFLAGS}"
INSTALL_TARGET= install
MAN1= python.1
@@ -49,12 +49,6 @@ CFLAGS+= -I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
.endif
-.if ${OSVERSION} > 500023
-LIB_DEPENDS+= gmp.3:${PORTSDIR}/math/libgmp
-CFLAGS+= -I${LOCALBASE}/include
-CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
-.endif
-
.if ${OSVERSION} >= 500000 && ${OSVERSION} < 500005
CONFIGURE_ARGS+= --with-libs='-lxpg4'
.endif
diff --git a/lang/python24/files/patch-setup.py b/lang/python24/files/patch-setup.py
index fd0d484c38db..f3cef489fa8f 100644
--- a/lang/python24/files/patch-setup.py
+++ b/lang/python24/files/patch-setup.py
@@ -5,7 +5,7 @@
# This global variable is used to hold the list of modules to be disabled.
-disabled_module_list = []
-+disabled_module_list = ["_tkinter", "gdbm", "pyexpat"]
++disabled_module_list = ["_tkinter", "gdbm", "mpz", "pyexpat"]
def find_file(filename, std_dirs, paths):
"""Searches for the directory where a given file is located,
diff --git a/lang/python24/pkg-plist b/lang/python24/pkg-plist
index fce33946364f..00b364f83709 100644
--- a/lang/python24/pkg-plist
+++ b/lang/python24/pkg-plist
@@ -872,13 +872,12 @@ lib/%%PYTHON_VERSION%%/lib-dynload/crypt.so
lib/%%PYTHON_VERSION%%/lib-dynload/dbm.so
lib/%%PYTHON_VERSION%%/lib-dynload/errno.so
lib/%%PYTHON_VERSION%%/lib-dynload/fcntl.so
-lib/%%PYTHON_VERSION%%/lib-dynload/fpectl.so
+@comment lib/%%PYTHON_VERSION%%/lib-dynload/fpectl.so
lib/%%PYTHON_VERSION%%/lib-dynload/grp.so
lib/%%PYTHON_VERSION%%/lib-dynload/imageop.so
lib/%%PYTHON_VERSION%%/lib-dynload/math.so
lib/%%PYTHON_VERSION%%/lib-dynload/md5.so
lib/%%PYTHON_VERSION%%/lib-dynload/mmap.so
-lib/%%PYTHON_VERSION%%/lib-dynload/mpz.so
lib/%%PYTHON_VERSION%%/lib-dynload/new.so
lib/%%PYTHON_VERSION%%/lib-dynload/nis.so
lib/%%PYTHON_VERSION%%/lib-dynload/operator.so