aboutsummaryrefslogtreecommitdiff
path: root/lang/python22
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2001-10-19 11:16:55 +0000
committerThomas Gellekum <tg@FreeBSD.org>2001-10-19 11:16:55 +0000
commit998b2d08ece18e2c6a703faf11a8afba967d70d7 (patch)
tree9ab9b857bff1cf1a87a1aa7746f43e10cd6aab1c /lang/python22
parent3372e611f4c45cb867dc77d8b48c72bad05ab167 (diff)
downloadports-998b2d08ece18e2c6a703faf11a8afba967d70d7.tar.gz
ports-998b2d08ece18e2c6a703faf11a8afba967d70d7.zip
Don't build mpz extension, it's moved to a separate port.
Notes
Notes: svn path=/head/; revision=48936
Diffstat (limited to 'lang/python22')
-rw-r--r--lang/python22/Makefile8
-rw-r--r--lang/python22/files/patch-setup.py2
-rw-r--r--lang/python22/pkg-plist3
3 files changed, 3 insertions, 10 deletions
diff --git a/lang/python22/Makefile b/lang/python22/Makefile
index b548510597d6..400b87953447 100644
--- a/lang/python22/Makefile
+++ b/lang/python22/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/python22/files/patch-setup.py b/lang/python22/files/patch-setup.py
index fd0d484c38db..f3cef489fa8f 100644
--- a/lang/python22/files/patch-setup.py
+++ b/lang/python22/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/python22/pkg-plist b/lang/python22/pkg-plist
index fce33946364f..00b364f83709 100644
--- a/lang/python22/pkg-plist
+++ b/lang/python22/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