diff options
author | Thomas Gellekum <tg@FreeBSD.org> | 2001-10-19 11:16:55 +0000 |
---|---|---|
committer | Thomas Gellekum <tg@FreeBSD.org> | 2001-10-19 11:16:55 +0000 |
commit | 998b2d08ece18e2c6a703faf11a8afba967d70d7 (patch) | |
tree | 9ab9b857bff1cf1a87a1aa7746f43e10cd6aab1c /lang/python21 | |
parent | Upgrade to 20.2.1. (diff) |
Don't build mpz extension, it's moved to a separate port.
Notes
Notes:
svn path=/head/; revision=48936
Diffstat (limited to 'lang/python21')
-rw-r--r-- | lang/python21/Makefile | 8 | ||||
-rw-r--r-- | lang/python21/files/patch-setup.py | 2 | ||||
-rw-r--r-- | lang/python21/pkg-plist | 3 |
3 files changed, 3 insertions, 10 deletions
diff --git a/lang/python21/Makefile b/lang/python21/Makefile index b548510597d6..400b87953447 100644 --- a/lang/python21/Makefile +++ b/lang/python21/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/python21/files/patch-setup.py b/lang/python21/files/patch-setup.py index fd0d484c38db..f3cef489fa8f 100644 --- a/lang/python21/files/patch-setup.py +++ b/lang/python21/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/python21/pkg-plist b/lang/python21/pkg-plist index fce33946364f..00b364f83709 100644 --- a/lang/python21/pkg-plist +++ b/lang/python21/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 |